[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

root directory missing from /etc/mtab (and mount and df output)



I've got an oddity I hope somebody can explain for me-
my root partition doesn't show up in mtab.  Has anybody seen this before?
/proc/mounts seems fine:

---
daniel@D:/$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda12 /home reiserfs rw 0 0
/dev/hda6 /boot reiserfs rw 0 0
/dev/hda1 /mnt/C vfat rw,nosuid,nodev 0 0
/dev/hda5 /mnt/D vfat rw,nosuid,nodev 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0

daniel@D:/$ mount
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda12 on /home type reiserfs (rw)
/dev/hda6 on /boot type reiserfs (rw)
/dev/hda1 on /mnt/C type vfat (rw,nosuid,nodev,uid=0,gid=100,umask=007)
/dev/hda5 on /mnt/D type vfat (rw,nosuid,nodev,uid=0,gid=100,umask=007)
usbdevfs on /proc/bus/usb type usbdevfs (rw)

daniel@D:/$ cat /etc/fstab
proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom  /cdrom  iso9660  unhide,defaults,ro,user,noexec,noauto  0  0
/dev/hda3  /  ext3  defaults,errors=remount-ro  0  1
/dev/hda11  none  swap  sw  0  0
/dev/hda12 /home       reiserfs defaults 0 0
/dev/hda6  /boot       reiserfs defaults 0 0
/dev/hda1 /mnt/C  vfat   user,exec,uid=0,gid=100,umask=007 0 0
/dev/hda5 /mnt/D  vfat   user,exec,uid=0,gid=100,umask=007 0 0

daniel@D:/$ cat /etc/mtab
none /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda12 /home reiserfs rw 0 0
/dev/hda6 /boot reiserfs rw 0 0
/dev/hda1 /mnt/C vfat rw,nosuid,nodev,uid=0,gid=100,umask=007 0 0
/dev/hda5 /mnt/D vfat rw,nosuid,nodev,uid=0,gid=100,umask=007 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0

daniel@D:~$ uname -a
Linux D 2.4.19-xfs #1 SMP Son Okt 6 20:14:17 CEST 2002 i686 Pentium III
(Coppermine) GenuineIntel GNU/Linux

daniel@D:~$ mount -V
mount: mount-2.12

Although this doesn't seem to cause any problems, it seems odd.

I was thinking it might be a missing /dev file, since at one point, I
noticed that a number of disk special-files were missing, which I
re-created with no problem.

Also, /dev/root didn't exist, but I'm not sure that's supposed to?

I'm confused. :-)

http://kw.pm.org/ - Kitchener-Waterloo Perlmongers -          da@kw.pm.org
http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com




Reply to: