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

Re: Get rid of /etc/mtab ?

On Thu, 27 Jun 2002 22:21, Martijn van Oosterhout wrote:
> On Fri, Jun 28, 2002 at 02:41:59AM +0200, Gergely Nagy wrote:
> > > 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:
> Not just that, it also mean that loopback devices won't be automatically
> unallocated when used in loopback mounts, because /proc/mounts does not
> store all the required info.
> Parts of /etc/mtab:
> ===================
> /mnt/hdb/31/cdimages/potato1.iso /mnt/iso/potato1 iso9660
> ro,loop=/dev/loop0 0 0
> The same from /proc/mounts:
> ===========================
> /dev/loop0 /mnt/iso/potato1 iso9660 ro 0 0
> This comes up every now and then and deserves a FAQ entry (if it hasn't one
> already).

These can all be fixed in the kernel, it has all the necessary information.

Shall we fix the kernel first and then deal with /etc/mtab?

I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: