Re: Get rid of /etc/mtab ?
Roderick Schertler <roderick@argon.org> writes:
> On 26 Jul 2002 12:02:53 +0200, Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de> 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?
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: