[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: mounted file systems
- From: "Steven Hill" <steven hilcoent com>
- To: <redhat-list redhat com>
- Subject: RE: mounted file systems
- Date: Tue Jul 30 16:52:10 2002
Bill,
That did exactly what I wanted it to do! Thank you!
Steven Hill
Greenfield, MA USA
-----Original Message-----
From: redhat-list-admin redhat com
[mailto:redhat-list-admin redhat com]On Behalf Of Bill Rugolsky Jr.
Sent: Tuesday, July 30, 2002 3:42 PM
To: redhat-list redhat com
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:redhat-list-request redhat com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]