Re: Get rid of /etc/mtab ?
On Fri, Jul 26, 2002 at 12:02:53PM +0200, Goswin Brederlow wrote:
> Can someone summarise the reasons against
> ln -s /proc/mounts /etc/mtab
> for me please? Only Problem I know for that solution are loopback
> filesystems and that could be worked out.
- /proc/mount does not contain the root device, but "mount" can transform
/dev/root into the current root device itself
- bind mounts are listed wrong:
mtab: /var/cache/apt/archives /var/www/deb-archive/debian none rw,bind 0 0
mount: /dev/hda6 /var/www/deb-archive/debian ext3 rw 0 0
- loopback mounts are broken
mtab: /mnt/hdb/31/cdimages/potato1.iso /mnt/iso/potato1 iso9660
ro,loop=/dev/loop0 0 0
mounts: /dev/loop0 /mnt/iso/potato1 iso9660 ro 0 0
- Diskquota quota options are not reflected
Most of those options can be easyly fixed in kernel space, some others will
not affect most users.
My oppinion is, we should support the link if somebody feels like it will
work. In fact, we should support read only root.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org