How do "df" from within a C program?
Chris Torek
chris at mimsy.umd.edu
Sat Dec 23 05:49:09 AEST 1989
In article <1989Dec22.121735.18455 at virtech.uucp> cpcahil at virtech.uucp
(Conor P. Cahill) writes:
>For BSD I don't know of any special system call to support this kind
>of operation. You might need to read the superblock or parse the df outupt.
Sufficiently recent versions of BSD (i.e., 4.4) have a statfs() system
call like the one in SunOS and SysRel 4. (There are some differences
with which I am unfamiliar.)
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at cs.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.questions
mailing list