diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-14 12:34:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-14 15:24:19 +0200 |
commit | 0ec5ee94861980a6957d210adf1903ea96202dd9 (patch) | |
tree | 1d0ef4edaee3205b49f617b7e565204dc031a3e4 /gnu/system/shadow.scm | |
parent | f86863752767a644a5307a605c5a512068ac4b56 (diff) | |
download | guix-0ec5ee94861980a6957d210adf1903ea96202dd9.tar guix-0ec5ee94861980a6957d210adf1903ea96202dd9.tar.gz |
file-systems: Implement partition lookup by UUID.
* gnu/build/file-systems.scm (read-ext2-superblock*, partition-predicate): New
procedures.
(partition-label-predicate): Rewrite in terms of 'partition-predicate'.
(partition-uuid-predicate, find-partition-by-uuid, uuid->string): New
procedures.
(%network-byte-order): New macro.
(canonicalize-device-spec)[canonical-title]: Check whether SPEC is a string.
[resolve]: New procedure.
Add 'uuid' case and use it.
Diffstat (limited to 'gnu/system/shadow.scm')
0 files changed, 0 insertions, 0 deletions