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

Re: fstab and LABEL=



> 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: pgp8PsSXMN1m6.pgp
Description: PGP signature


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