Re: fstab and LABEL=

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

 



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?
Don't edit the LABEL in /etc/fstab unless you're able to change it on the disk right now as well. The label is stashed in the filesystem header. The system scans all not-in-use partitions for labels when you try to mount a drive that way.

Jeff


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux