On Tue, Sep 04, 2001 at 09:24:00AM -0500, Joseph Southwell wrote:
> I am trying to use xfs as my root partition and it is being
> mislabeled. for instance I installed on /dev/hda3. I setup a smaller
> partition on dev/hda1 with xfs and booted to that partition. The data
> and the size of the root partition indicate that /dev/hda1 is mounted as
> root. however df indicates that /dev/hda3 is mounted as root.
There are two mounted partitions tables, /etc/mtab and /proc/mounts.
/proc/mounts is what the kernel uses and is always correct. /etc/mtab
is the user space table and can be wrong. This usually happens if you
pass a "root=" option to the kernel that differs from what's in
/etc/fstab. If /proc/mounts has /dev/root use /usr/sbin/rdev to find
out what your real root partition is. Sometimes is do a `cat
/proc/mounts > /etc/mtab` if the differences get in my way, but I don't
know how safe that is.
--
Nate Straz nstraz@xxxxxxx
sgi, inc http://www.sgi.com/
Linux Test Project http://ltp.sf.net/
|