On 30-Jun-2015 3:08 pm, "Ludovic Courtès" <ludo@gnu.org> wrote:
> Evan Rowley <rowley.evan@gmail.com> 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