guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with a basic GuixSD installation


From: Daniel Pimentel
Subject: Re: Help with a basic GuixSD installation
Date: Thu, 02 Jul 2015 11:21:41 -0300
User-agent: Roundcube Webmail/1.0.5

On 2015-06-30 14:06, Claes Wallin wrote:
On 30-Jun-2015 3:08 pm, "Ludovic Courtès" <address@hidden> wrote:
 > Evan Rowley <address@hidden> 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:)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]