diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-04-17 00:17:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-04-17 01:23:52 +0200 |
commit | a1ccefaa122df7c0045eda1fe6b65d83b65ed238 (patch) | |
tree | 2cdb6de71f6c2f3336a0e21c9dd5f9f94879ff95 /srfi | |
parent | 2447335625fb0b8fcb9aae0852d86eb6310188ce (diff) | |
download | 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 'srfi')
0 files changed, 0 insertions, 0 deletions