Re: Get rid of /etc/mtab ?
Matthew Garrett <firstname.lastname@example.org> writes:
> In chiark.mail.debian.devel, you wrote:
> >/proc/mount should reflect the systems state and with devfs enabled
> >but not used the entry is just broken.
> So should typing "mount -t devfs devfs /devfs" change /proc/mounts, or
> only "mount -t devfs devfs /dev"? If I mount devfs inside a chroot,
> should /proc use devfs or traditional names? Howabout a /proc inside the
Idealy /proc/mounts should change. In a chroot /proc/mounts should
also only contain entries inside the chroot and relative to it.
But asking /proc/mount to change when something is mounted on /dev is
probably too much to ask. The layout of the new /dev (you could mount
anything there) could be completly random and/or incomplete. Should
the kernel not show entries because your missing device nodes? One
could make an exception for devfs on /dev probably but who would write
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org