Changing mount point - 4.3

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



On Mon 08 May 2006 10:34, Tom Brown wrote:
> Hi
>
> A box was installed with the majority of the free space in /home but i
> actually want this to be available to /opt. My fstab had /home looking
> like this
>
> LABEL=/home             /home                   ext3    defaults        1 2
>
> I umounted /home and changed the fstab to look like this
>
> /dev/sda5             /opt                   ext3    defaults        1 2
>
> and then mounted /opt. All works fine. My question is, is this the
> 'correct' way to do something like this or should i stick to 'LABEL' ? I
> wonder as i'm not sure where the label tag gets set and when i see the
> box boot now it still references /home when in reality it is /opt on sda5.
>
> Is this a really bad thing to do?
>

You should change the LABEL on /dev/sda5, then update fstab
LABEL=/opt             /opt                   ext3    defaults        1 2

> thanks
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

-- 
John Allen                           mailto:john.allen@xxxxxxxxxxxx
Mandriva Club Member(Silver)         http://www.moyville.net
Site of the day http://www.arsenalsquirrel.com/
Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-15mdk
 10:35:22 up 3 days, 34 min,  1 user,  load average: 0.25, 0.14, 0.23

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux