Re: Get rid of /etc/mtab ?
Roderick Schertler <email@example.com> writes:
> On 26 Jul 2002 12:02:53 +0200, Goswin Brederlow <firstname.lastname@example.org> said:
> > Can someone summarise the reasons against
> > ln -s /proc/mounts /etc/mtab
> The information about bind mounts is different (and better) in /etc/mtab.
> # mount --bind /usr/local /mnt
> # grep /mnt /proc/mounts
> /dev/hda4 /mnt ext2 rw 0 0
> # grep /mnt /etc/mtab
> /usr/local /mnt none rw,bind 0 0
> # _
Does anything rely on the bind option being there?
Is the bind option only in the mtab or also in the kernel (but not
shown in /proc/mounts for some reason)? I.e. does mount tell the
kernel that its a bind or does it just mount?
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org