[CentOS] Changing mount point - 4.3

Tom Brown

tom at ng23.net
Mon May 8 09:34:57 UTC 2006


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?

thanks



More information about the CentOS mailing list