Re: Problems with /proc/mounts and statvfs (implementing df).

From: Ian Kent
Date: Thu Nov 02 2006 - 05:07:36 EST


On Sat, 28 Oct 2006, Rob Landley wrote:

> I'm trying to implement a df command that works based on /proc/mounts and
> statvfs. To make this work, I need to be able to detect duplicate mounts
> (including --bind mounts), and I need to be able to detect overmounted
> filesystems.

I need to do quite a bit with mount tables in autofs.
You may wish to look at lib/mounts.c in autofs version 5.

Current state of play can be found in files located at
http://www.kernel.org/pub/linux/daemons/autofs/v5.

Ian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/