Re: fstab and LABEL=

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

 



> 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 do not need to use /dev. 

I had a different partitioning so I had "LABEL=" in may fstab entires. I 
edited them. You can do it so. I think /home/archive3 is not your home 
directory.

Here is my suggestion:

1- Create a directory under / named archiv

2-Make a copy of your fstab as fstab.1

3-Edit the fstab as given below

/archiv	/home/archive3		xfs	defaults 	1 2

4-Save the edited fstab

5-Run mount- a

If everhting is ok, you will get no error messages.

Goksin Akdeniz
--------
www.enixma.org

Attachment: pgp8khLjznGVT.pgp
Description: PGP signature


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

  Powered by Linux