Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site forcm5.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!hpda!fortune!forcm5!jr From: jr@forcm5.UUCP (John Rogers) Newsgroups: net.unix Subject: Question about ustat(2) and free disk space Message-ID: <128@forcm5.UUCP> Date: Tue, 21-Feb-84 00:21:16 EST Article-I.D.: forcm5.128 Posted: Tue Feb 21 00:21:16 1984 Date-Received: Sat, 18-Feb-84 04:25:04 EST Organization: Fortune Systems, Redwood City, CA Lines: 23 Hello. I was reading "The Programmer's Workbench" (an article in the 1978 special UNIX issue of the Bell Systems Technical Journal), and I noticed the following sentence: "The ustat system call was added to allow programs to discover the amount of free space remaining in a file system." Since I haven't seen ustat in the V7, Sys III, or 4.1BSD documentation, I'd like to know: 1) What happened to ustat? 2) What are/were it's arguments? I assume it returned a long, for the number of bytes (where -1 might mean an error of some sort). 3) How can someone do the same thing without using the ustat system call? 4) How does df(1) work? Thanks in advance... Chief question asker -- JR (John Rogers) UUCP: forcm5!jr, fortune!jr, proper!jr CompuServe: 70140,213