summaryrefslogtreecommitdiff
path: root/bin/df
AgeCommit message (Collapse)Author
2005-01-28widen the avail/used columns by one space to accomodate for >100g ↵Michael Shalayeff
filesystems. the total is already wide enough due to the header length; dhartmei@ ok
2004-11-18Sync usage with man page; Paul de WeerdTodd C. Miller
2004-11-17Document exit code, pointed out by Paul de Weerd.Todd C. Miller
2004-10-15Don't print header if we didn't print any usage lines. Noticed andTodd C. Miller
tested by robert@
2004-09-14fd leak (and who said lint never finds real bugs)Theo de Raadt
2004-09-14remove unused variableTheo de Raadt
2004-09-14do not alias unions between files (lint hates it)Theo de Raadt
2004-01-05wording improvemements;Jason McIntyre
started by Jared Yanovich and tempered by otto, tom, millert and myself; ok millert@
2003-12-08-h also overrides BLOCKSIZE;Jason McIntyre
from perry@netbsd
2003-07-29spacingTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-29section reorder;Jason McIntyre
2003-05-26Use prt_scaled from libutil. ok pjanzen@, millert@Ian Darwin
2003-03-12more .LiTheo de Raadt
2003-03-11use file system consistently. spot by margaridaTed Unangst
2003-02-19oops; delete it, don't just shuffleTed Unangst
2003-02-19LFS is dead. saves some space on install floppies too.Ted Unangst
ok deraadt@
2002-07-04ansiTheo de Raadt
2002-06-08This doesn't need to be setgid operator; it was only set so usersAngelos D. Keromytis
could do "df /dev/rwd0a" or some such, but arguably only operators (or root) care about this, and they should already be on the operator group.
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.