Borsenkow Andrej <[EMAIL PROTECTED]> writes:

> {pts/1}% rpm -q fileutils
> fileutils-4.1.5-1mdk
> 
> df -x supermount still stats all mount points every time. 

I've been looking at that problem (because it takes forever on my
test machine with SCSI cdrom).

It seems that `df -x supermount' does work (e.g. in
df.c:show_dev(), excluded_fstype(fstype) yields true when a
supermount mountpoint is considered, and the function does return
before displaying the entry), the problem is with sys/statvfs.h's
statvfs(), which systematically stats all the mountpoints,
although we call it with a given mountpoint only.

So I've looked inside glibc's code, but I failed to find where
the glibc would enforce stating all the mountpoints, even if
stracing the df seems to show that there are multiple syscalls,
so maybe it's the kernel itself that generates multiple syscalls
to itself?


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to