summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-30 23:44:28 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-30 23:46:17 +0200
commit85a83edb369dcebd1019674427dda9e6b3e2ed4b (patch)
tree9c03a8f2bdd4b97bb61b4aa4826a269b488ee9b4 /nix
parentbd3fc08c4dc718bb76c1a45b875c97d67bfdc3fa (diff)
downloadguix-85a83edb369dcebd1019674427dda9e6b3e2ed4b.tar.gz
linux-initrd: Allow use of volume labels in 'file-system' declarations.
* guix/build/linux-initrd.scm (%ext2-endianness, %ext2-sblock-magic,
  %ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name):
  New macros.
  (read-ext2-superblock, ext2-superblock-uuid,
  ext2-superblock-volume-name, disk-partitions,
  partition-label-predicate, find-partition-by-label,
  canonicalize-device-spec): New procedures.
  (mount-file-system): Use 'canonicalize-device-spec' on SOURCE.
  (boot-system): Likewise for ROOT.
* doc/guix.texi (Using the Configuration System): Adjust 'file-system'
  declaration accordingly.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions