summaryrefslogtreecommitdiff
path: root/lib/libc/sys/statfs.2
AgeCommit message (Collapse)Author
2002-01-15MNAMELEN is 90, not 32; peterw AT ifost.org.auTodd C. Miller
2000-03-24Make f_bsize signed. Having it unsigned causes surprising (and unwanted)Todd C. Miller
type coercions. With this fixed I can back out the hack in df.
1999-12-31f_bavail is signed (sync with sys/mount.h)Todd C. Miller
1999-06-29- change references to nil to null; tschroed@acm.orgAaron Campbell
- remove trailing spaces from end of lines - add some .Dv - change -1 to \-1, so `-' is taken as a negative sign - other misc formatting fixes
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-04-18Add Xrefs.Marc Espie
1999-02-27make function names the correct caseTheo de Raadt
1998-07-06fix openbsd tagTheo de Raadt
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1997-11-06Document f_syncwrites/f_asyncwrites.Todd C. Miller
1997-06-13fix lots of .Xr and other minor thingsTheo de Raadt
1997-02-13Mention that certain fields are accessible to the super-user only.Todd C. Miller
1996-08-07nroff mistakes; netbsd pr#2677; kstailey@dol-esa.govTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt