+++ VaibhaV Sharma [2006-03-10 11:28:58]:

> 
> On Mar 6, 2006, at 12:33 PM, Binand Sethumadhavan wrote:
> 
> >On 06/03/06, Thaths <[EMAIL PROTECTED]> wrote:
> >>Edit /etc/fstab to have a line like so:
> >>/dev/hda4       /var               ext3    defaults    0       1
> >
> >Usually not required on modern Linux distributions that use the
> >filesystem labelling feature of ext2/ext3. Instead, do something like:
> >
> >e2label /dev/hda4 /var
> >e2label /dev/hdaX oldvar
> >
> >(hdaX being your old /var)
> >
> >and just make sure that your fstab uses labels rather than raw  
> >device names.
> 
> I haven't had to deal with any such situation so am curious. What  
> would happen if you had two hard drives with two installations of  
> lets say RHL that uses filesystem labels and you plug both the HDDs  
> on the same machine?
> 
> How would the booting copy of RHL deal with duplicate /var or / or  
> any of those labels on the two hard drives?

It just takes the first one it encounters.. and totally messed up everything.

It's braindead to replace a unique unidentifier with a non-unique one.

On boxes that use that scheme if you "get to be root".. just interchange the
labels and watch the fun on the next reboot. :-)

Kingsly

-- 
---------------------------------------------------------------------------
     Kingsly At Users Dot SourceForge Dot Net  -- http://kingsly.org/
---------------------------------------------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to