Bill,

That did exactly what I wanted it to do! Thank you!

Steven Hill
Greenfield, MA  USA


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Rugolsky Jr.
Sent: Tuesday, July 30, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: mounted file systems


On Tue, Jul 30, 2002 at 03:26:14PM -0400, Steven Hill wrote:
> I forgot to mention that this is under RH7.3

   1. The correct file is /etc/fstab, not /etc/mtab.
      /etc/mtab tells you what is currently mounted.
   2. /etc/mtab can get corrupted. (In fact, you corrupted it!)
      Trust /proc/mounts.  
   3.  If /etc/fstab has LABEL=/var and LABEL=/home lines, like follows,
        LABEL=/var   /var   ext3    defaults        1 2
        LABEL=/home  /home  ext3    defaults        1 2

       then you will need to change the filesystem labels on the
       disk partitions, e.g.,

            tune2fs -L /var /dev/hda3
            tune2fs -L /home /dev/hda6

       Alternatively, you could hardwire the disk partitions,
       but this is less flexible:

        /dev/hda3   /var   ext3    defaults        1 2
        /dev/hda6   /home  ext3    defaults        1 2

Of course you are doing this as root all from a rescue disk or
single user mode ...

Regards,

    Bill Rugolsky



-- 
redhat-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list





-- 
redhat-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to