2.3.99-pre?+, /proc/mounts

From: Forever shall I be. (zinx@linuxfreak.com)
Date: Fri Jun 16 2000 - 22:47:34 EST


Just in case no one else has noticed, /proc/mounts has been broken for a
while.. I know it's broken in 2.3.99-pre9+ (to 2.4.0-test1-ac19), but
it's probably been broken since before then..

here's a sample /proc/mounts, so you can see what I mean:

none / shm rw 0 0
none pipe: pipefs rw 0 0
none / proc rw 0 0
none / devpts rw 0 0
/dev/ide/host0/bus0/target0/lun0/part1 / ext2 rw 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw 0 0
none /var/shm shm rw 0 0

The first four entries are obviously bunk, as I'm actually using this
system... This makes things difficult, because various programs check
where proc is mounted so they still work if you put it in an odd place --
this isn't a bad idea, but if you look at my corrupted /proc/mounts,
you'll notice proc is mounted on / (it isn't).. The result is confusion ;)
I've made a real /etc/mtab file for now (uggh), but I'd much rather keep
it as a link to /proc/mounts..

--
Zinx Verituse <zinx@linuxfreak.com>
gpg (id 921B1558) (fp 5746 73A1 2184 A27A 9EC0  EDCC E132 BCEF 921B 1558)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:14 EST