Re: [libgtop] mountlist behaviour

Le jeu 10/06/2004 à 19:57, Benoit Dejean a écrit :
> hello, i'm the new libgtop maintainer. I'm currently checking and
> cleaning libgtop. I often have to implement features that have been
> announced for a while but not/partially implemented.
> e.g glibtop_mountlist(int all_fs) returns a list of mounted
> points. if @all_fs is 0/FALSE, then some points have to be excluded.
> "The `all_fs' parameter specifies whether information about all
> filesystems should be returned; this will include filesystem types
> like `autofs' and `procfs'. You should not use this in disk usage 
> programs, but it can be useful to get a list of all currently mounted
> filesystems."
> ignored[] = {
> 	"proc",
> 	"procfs",
> 	"autofs",
> 	"sysfs",
> 	"none",
> 	"devpts",
> 	"usbdevfs",
>          "binfmt_misc"
> 	}

You should add "supermount" to the ignore list, since it is not possible
to get info on supermounted volumes (like free space..).

Frederic Crozat <fcrozat mandrakesoft com>

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