On 2015-06-30 14:06, Claes Wallin wrote:
On 30-Jun-2015 3:08 pm, "Ludovic Courtès" <[email protected]> wrote: > Evan Rowley <[email protected]> skribis: > > > (file-systems (cons (file-system > > (device > > "/dev/disk/by-id/ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3") > > (title "root") > > (mount-point "/") > > (type "ext4")) > > %base-file-systems)) > > You should be using something like: > > (file-system > (title 'label) > (device "ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3") > (mount-point "/") > (type "ext4")) > > It literally means: Mount the block device whose label (in the ext[234] > sense) is “ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3”. > > The root file system is mounted from the initrd, when udev is not > running; thus /dev/disk/by-id is not available yet, and it’s important > to use this 'label mechanism instead.So *that's* what the mysterious (title 'label) means! -- /c
The "(title 'label) are label set when format partition, example: mkfs.ext4 -L root /dev/sda1 and mount -L root /mnt The GuixSD get label partition through config.scm file. -- Daniel Pimentel (d4n1 3:)
