Re: Get rid of /etc/mtab ?
Matthew Garrett <mgarrett@chiark.greenend.org.uk> 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
> chroot?
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
the code?
MfG
Goswin
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: