Re: Get rid of /etc/mtab ?
Previously Goswin Brederlow wrote:
> Can someone summarise the reasons against
>
> ln -s /proc/mounts /etc/mtab
* Not everymount mounts /proc
* /proc is not mounted early in the boot sequence
* not all mount options are listed in /proc/mounts
* Not all operating systems have /proc (afaik only Linux has /proc/mounts)
* Using /proc/mounts in a chroot means leaking lots of information about
the host system into the chroot (the info is there anyway via /proc
but with different paths which don't exist in the chroot. Also chroots
don't always have /proc mounted but may very well mount other things)
Now someone please summarise the reasons not to have a seperate /etc/mtab
file.
Wichert.
--
_________________________________________________________________
/wichert@wiggy.net This space intentionally left occupied \
| wichert@deephackmode.org http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: