summaryrefslogtreecommitdiff
path: root/bin/df
AgeCommit message (Collapse)Author
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-24fix the history refsMichael Shalayeff
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2001-07-09Compute %used in -P mode as a double, just like we do in normal printingTodd C. Miller
mode. Fixes an int wraparound problem noted by mike@erdelynet.com
2001-05-11use strlcpy instead of strncpy+a[len-1]='\0'Michael Shalayeff
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-02-23Avoid potential uninitialized variablePaul Janzen
2001-01-28$OpenBSD$Niklas Hallqvist
2000-10-18sort out printf formats according to types, 64bit arithmetics in ffs_df; ↵Michael Shalayeff
millert@ ok
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-04-26Support for ext2fs rev. 1jasoni
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.
2000-03-17Remove hard sentence breaks.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-02-19Miscellaneous cleanup.Aaron Campbell
1999-12-31In prtstat() use u_int32_t and int32_t, not long and castTodd C. Miller
sfsp->f_bsize to be signed when using the fsbtoblk() macro so we get signed divide, not unsigned divide. Fixes a bug in df when the filesystem has < 0 blocks available to the user. Guess I should have just made f_bsize signed when struct statfs was changed.
1999-09-02use DvAaron Campbell
1999-08-17consistencyAaron Campbell
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
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-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-01-31When adjusting units for -h mode, use the absolute value to check forTodd C. Miller
kb, mega, giga, etc. Based on a change from kstailey@openbsd.org but fixed differently.
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-09-23alphabetize SEE ALSO entries and numerically order according to sectionAaron Campbell
1998-09-14typos; pjanzen@foatdi.harvard.eduAaron Campbell
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1998-08-25off by one (dodges bullet)kstailey
1998-08-18people who fail to update man pages and usage lines will henceforth be shot ↵Theo de Raadt
on sight
1998-08-17fix df -P on 0-size filesystemsTheo de Raadt
1998-05-13fix .Sh ENVIRONMENTTheo de Raadt
1997-11-20Fix units conversion wrt -h flag to be correct (and consistent withTodd C. Miller
the GNU df's -h flag).
1997-09-21$OpenBSD$Theo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-19Note -P option and POSIX 1003.2denny
1997-08-19Add -P option, the POSIX 1003.2 output format (strictly specified for parsing).denny
1997-07-23tabifykstailey
1997-06-30WallTheo de Raadt
1997-06-16Better support for unmounted filesystems (i.e. df /dev/rsd0a):denny
- interpret the superblock of lfs, ext2fs, and ffs filesystems. - never mount() an offline filesystem, always read its superblock. - use the same algorithm as statfs() for ffs, get the same answers. Even so, now I'm really unsure this code should remain in df. Similar functionality should be added to dumpfs or fsck instead.
1997-06-01From denny@c200234-a.frmt1.sfba.home.com, check superblock magic number.Jason Downs
I'm unsure if this code should even remain in df.
1997-04-14make -h columns more compactkstailey
1997-04-14document "-h" flagkstailey
1997-04-14switch from <blank> to "B" for byte suffix; columns look too ugly otherwisekstailey
1997-04-14fix Avail column in -h mode (again)kstailey
1997-04-14fix Avail column in -h modekstailey
1997-04-14new "-h" (human-readable) output flag now works, please test. thxkstailey
1997-04-12start of -h (human readable) flag. more to comekstailey