Re: fstab and LABEL=



On Fri, 2006-10-20 at 11:07 -0400, Mark Haney wrote:
I'm a little confused about the LABEL= option in /etc/fstab. Let's say
I have this line in my fstab:

LABEL=/home/archiv /home/archive3 xfs defaults 1 2

And I want to change the mountpoint of this to /archive instead of
/home/archive3. Will I need to (or should I) edit the LABEL= to reflect
the changes? Or can I just use the /dev/ instead?

You can just use the /dev/hda style of fstab lines, instead. In that
case, it doesn't matter what the drives are actually labelled as.

The label and the mount point don't have to be related. The label could
well have been seagate2 with that mountpoint, it would have worked.

You can also relabel partitions, just remember to also change the fstab
to suit, before rebooting (or before re-reading the available drives in
some other manner).

--
(Currently running FC4, but testing FC5, if that's important.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: moving /home
    ... From man fstab: ... > or xfs) filesystem that is to be mounted by its UUID or volume label ... partition was labelled as being "/home" that you could always refer to ... This is convenient for removable drives, or people who fiddle with their ...
    (Fedora)
  • Re: Desktop Icon Names for ntfs automounted drives
    ... ntfs drives came up on the desktop, the desktop icon reflected the name ... of the drive in fstab. ... would appear on the desktop icon labeled as 'windows'. ... the partition has a label. ...
    (Ubuntu)
  • Re: Desktop Icon Names for ntfs automounted drives
    ... ntfs drives came up on the desktop, the desktop icon reflected the name ... of the drive in fstab. ... would appear on the desktop icon labeled as 'windows'. ... the partition has a label. ...
    (Ubuntu)
  • Re: fstab and LABEL=
    ... say I have this line in my fstab: ... And I want to change the mountpoint of this to /archive instead of /home/archive3. ... Don't edit the LABEL in /etc/fstab unless you're able to change it on the disk right now as well. ...
    (Fedora)
  • fstab and LABEL=
    ... Let's say I have this line in my fstab: ... And I want to change the mountpoint of this to /archive instead of /home/archive3. ... Will I need to edit the LABEL= to reflect the changes? ... Systems Administrator ...
    (Fedora)