fstab and LABEL=

Goksin Akdeniz goksin.akdeniz at gmail.com
Sat Oct 21 16:59:49 UTC 2006


> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20061021/a65f7b8d/attachment-0002.bin 


More information about the users mailing list