Re: statvfs()

From: Andries Brouwer (aebr@win.tue.nl)
Date: Fri Apr 25 2003 - 19:02:51 EST


On Fri, Apr 25, 2003 at 12:11:38PM +0000, John Meyers wrote:
> Wheere can i find documentation for statvfs ?
> Any explanation or links would be helpful.

% man statfs
...
       Solaris and POSIX 1003.1-2001 have a system call statvfs
       that returns a struct statvfs (defined in <sys/statvfs.h>)
       containing an unsigned long f_fsid. Linux, SunOS, HPUX,
       4.4BSD have a system call statfs that returns a struct
       statfs (defined in <sys/vfs.h>) containing a fsid_t
       f_fsid, where fsid_t is defined as struct { int val[2]; }.
       The same holds for FreeBSD, except that it uses the
       include file <sys/mount.h>.
...

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



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:23 EST