From: <cspalletta@adelphia.net>
To: linux-kernel@vger.kernel.org
Subject: /proc/mounts broken
Date: Thu, 23 Jun 2005 10:17:08 -0400 [thread overview]
Message-ID: <23192954.1119536228604.JavaMail.root@web10.mail.adelphia.net> (raw)
Do a google on '/dev2/root2' and you will see that /proc/mounts on Debian reports false information for the root filesystem device, and this is a longstanding problem. The result is that on systems with this problem /etc/mtab is correct but /proc/mounts is not.
This appears to be more a kernel problem than a distribution problem - how is it even _possible_ for some userspace process to get /proc/mounts to publish erroneous information? Why are there no consistency checks in /proc/mounts?
$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev2/root2 / ext3 rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /boot ext2 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
$ ls -l /dev2 /dev2/root2
ls: /dev2: No such file or directory
ls: /dev2/root2: No such file or directory
$ mount -l
/dev/hda2 on / type ext3 (rw,errors=remount-ro) [debian-sarge-roo]
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda1 on /boot type ext2 (rw) [/boot]
usbfs on /proc/bus/usb type usbfs (rw)
$ uname -a
Linux nectarsys 2.6.10-1-k7 #1 Fri Mar 11 03:13:32 EST 2005 i686 GNU/Linux
reply other threads:[~2005-06-23 14:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23192954.1119536228604.JavaMail.root@web10.mail.adelphia.net \
--to=cspalletta@adelphia.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox