[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Get rid of /etc/mtab ?



> The same information is available in /proc/mounts. In fact, /proc/mounts is 
> more accurate e.g. after lazy umounts (umount -l).

Untrue. /proc/mounts lists bind-mounts differently, and doesn't list
my / properly:

Parts of /etc/mtab:
===================
/dev/hda3 / ext3 rw 0 0
/var/cache/apt/archives /var/www/deb-archive/debian none rw,bind 0 0


The same from /proc/mounts:
===========================
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/dev/hda6 /var/www/deb-archive/debian ext3 rw 0 0

Attachment: pgp84gWn3lojy.pgp
Description: PGP signature


Reply to: