aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-04-17 00:17:13 +0200
committerLudovic Courtès <ludo@gnu.org>2016-04-17 01:23:52 +0200
commita1ccefaa122df7c0045eda1fe6b65d83b65ed238 (patch)
tree2cdb6de71f6c2f3336a0e21c9dd5f9f94879ff95 /gnu/packages/linux.scm
parent2447335625fb0b8fcb9aae0852d86eb6310188ce (diff)
downloadguix-a1ccefaa122df7c0045eda1fe6b65d83b65ed238.tar
guix-a1ccefaa122df7c0045eda1fe6b65d83b65ed238.tar.gz
file-systems: Add 'find-partition-by-luks-uuid'.
* gnu/build/file-systems.scm (%luks-endianness, %luks-header-size): New macros. (%luks-magic): New variable. (sub-bytevector, read-luks-header, luks-header-uuid): New procedures. (partition-predicate): Add 'read' parameter; wrap it with 'ENOENT-safe'. Use it instead of 'read-ext2-superblock*'. (read-ext2-superblock*): Remove. (partition-label-predicate, partition-uuid-predicate): Pass 'read-ext2-superblock' as the first argument. (partition-luks-uuid-predicate): New variable. (find-partition-by-luks-uuid): New procedure.
Diffstat (limited to 'gnu/packages/linux.scm')
0 files changed, 0 insertions, 0 deletions