devfs
[Top] [All Lists]

too much mounted

To: devfs@xxxxxxxxxxx
Subject: too much mounted
From: Sam Halliday <samuel@xxxxxxxxxxx>
Date: Wed, 16 Oct 2002 20:32:42 +0100
Sender: devfs-bounce@xxxxxxxxxxx
hi there,

i recently rebuilt my system with devfs support... i like it a lot! good
idea! but unfortunately i have one small gripe... i have my /etc/mtab as
a symbolic link to /proc/mounts which has always worked nicely for me
and i can therefore be sure that even on a system crash or read-only
root mount, my mtab will always be correct... however, using devfs (on
linux-2.4.19 and i also tested 2.4.20-pre11) i get two mounts for the
rootfs... here is my /proc/mounts

rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /dev devfs rw 0 0
proc /proc proc rw 0 0
/dev/hda7 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
automount(pid77) /mnt/.autofs autofs rw 0 0

is this a bug, or is my symlink a bad idea. this is the way Linux from
Scratch reccomends doing to /etc/mtab and i agree with their arguements.
has anyone else experienced this? is it known already, and if so, is
there a fix in the running? (hopefully before 2.4.20!)

also, just to let the list know that for my kernel setup i needed to add
the module 'ide-scsi' to the line for cdroms in /etc/modules.devfs This
is because i use as much modularisation as possible and devfsd kept
using the normal ide cdrom drivers for my cdrom when in actual fact, i
required the scsi emulation for cdburning purposes. i dont see how this
could cause problems on a system which doesnt have an ide cdwriter.

Sam
-- 
The chief danger in life is that you may take too many precautions.
-- Alfred Adler

<Prev in Thread] Current Thread [Next in Thread>