Guillaume Cottenceau <[EMAIL PROTECTED]> writes:

> 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?

Ok I've been caught by their habit of including a .c file inside
another .c file.

Black magic seems to be inside
sysdeps/unix/sysv/linux/internal_statvfs.c where they stat all
filesystems present in /proc/mounts, in order to discover the
mount flags :-(.


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

Reply via email to