> On Wed, 16 Oct 2002 21:22:34 +0000 Michael Carmack <karmak@xxxxxxxxxx>
> wrote:
> > On Wed, Oct 16, 2002 at 08:32:42PM +0100, Sam Halliday wrote:
> > > 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!)
> > I have noticed it too, and I never saw this before 2.4.19. With
2.4.17
> > (or was it 2.4.9?) the root fs showed up as /dev/ide/host0/...
> > I wasn't even aware that devfs was the culprit here.
> > I've been running several machines like this for months and have
never
> > noticed a problem, but I'm also curious why this changed recently.
> well, i got a little too annoyed with the bugs involved in running a
> symlink form /etc/mtab to /proc/mounts, and i _just_ changed my system
> to use a real file /etc/mtab. but i can assure you that when i
switched
> to devfs, this problem occured, so to me id say it probably is devfs
to
> blame, sorry!
>
It has always been so. The first mount comes from kernel mounting
"generic" root without knowing real root fs type. The second one comes
from actual mounting. It may be dependent on using initrd, I do not
remember currently.
About ide-scsi - just add hdX=ide-scsi to kernel boot string to prevent
ide-cd from claiming CD-ROM. Modules.devfs already includes
scsi-hostadapter alias, so the easiest way is to add
probeall scsi-hostadapter drv1 ... ide-scsi ...
you can of course add ide-scsi explicitly to modules.devfs.
-andrey
|