aboutsummaryrefslogtreecommitdiff
path: root/bin/df
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-273-3/+3
| | | | Notes: svn path=/head/; revision=50471
* Don't suggest sysctl(8) as a means for discovering what filesystem typesSheldon Hearn1999-08-261-8/+5
| | | | | | | | | are available; suggest lsvfs(1) instead. Reported by: Neil Blakey-Milner <nbm@rucus.ru.ac.za> Notes: svn path=/head/; revision=50412
* Removed occurrences of consecutive repeated words (such as "the the").Alexander Langer1999-02-121-2/+2
| | | | Notes: svn path=/head/; revision=43920
* Cleaning out old stuff from one of my source trees:Peter Wemm1998-12-161-5/+14
| | | | | | | use mkdtemp() rather than mktemp() and fix a trivial memory leak. Notes: svn path=/head/; revision=41851
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTPoul-Henning Kamp1998-05-131-2/+2
| | | | | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36014
* Correct use of .Nm.Philippe Charnier1998-05-131-5/+5
| | | | Notes: svn path=/head/; revision=36008
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-2/+2
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Style police: keep a variable list in alphabetical order, and addJoerg Wunsch1997-10-131-5/+5
| | | | | | | | | pointless paren's to return statements. Nitpicked by: bde :) Notes: svn path=/head/; revision=30370
* Make df(1) exit with non-success status if something went wrong.Joerg Wunsch1997-10-121-11/+18
| | | | | | | PR: bin/4415 Notes: svn path=/head/; revision=30340
* environmental -> environment.Philippe Charnier1997-09-181-2/+2
| | | | Notes: svn path=/head/; revision=29563
* Add Bruce's _NEW_VFSCONF flag to make this compile cleanly andSteve Price1997-08-072-6/+9
| | | | | | | sccsid -> rcsid. Notes: svn path=/head/; revision=27962
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24348
* Merged from Lite2. The -t option is now handled better. The only visibleBruce Evans1997-03-131-104/+37
| | | | | | | change should be that the usage message now actually matches the man page. Notes: svn path=/head/; revision=23852
* Merged from Lite2. The man page no longer attempts to list all theBruce Evans1997-03-131-21/+28
| | | | | | | | | vfs types. Fixed ordering of FreeBSD `k' option in synopsis. Notes: svn path=/head/; revision=23851
* Merge from Lite2. Straightforward changes.Bruce Evans1997-03-131-2/+7
| | | | Notes: svn path=/head/; revision=23850
* This is a funny one: df for a device that was not mounted used to failGuido van Rooij1997-03-101-2/+2
| | | | | | | for root only. Notes: svn path=/head/; revision=23621
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22988
* Include <ufs/ufs/ufsmount.h>.Jordan K. Hubbard1997-02-171-0/+1
| | | | Notes: svn path=/head/; revision=22826
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Sort cross references.Wolfram Schneider1997-01-131-2/+2
| | | | Notes: svn path=/head/; revision=21635
* Merge Lite2 mods, cleanup man page, and -Wall cleaning.Steve Price1996-12-142-9/+9
| | | | Notes: svn path=/head/; revision=20414
* The manual page of df called cd9660 file systems by the nameJordan K. Hubbard1996-12-112-4/+9
| | | | | | | | | | | | | | isofs while the df command itself used the name iso9660fs or cdfs. Both of these were inconsistent with the name cd9660 which is used by the mount command. I modified df to recognize all of the names cd9660, cdfs, isofs, and iso9660fs, and take them all to refer to the same thing. Naturally I added a note of this behaviour in the manual page too. Submitted-By: Jukka Ukkonen <jau@jau.csc.fi> Notes: svn path=/head/; revision=20317
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-291-2/+2
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* Partially fixed negative and truncated "Avail" counts in df output.Bruce Evans1996-01-141-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes PR943. ffs/ffs_vfsops.c: ffs_statfs() multiplied by (100 - minfree) as part of calculating the minfree percentage (complemented in 100%), so with the standard minfree of 8, it was broken for file systems of size >= 1TB/92 = 11GB. Use the standard freespace() macro instead. This also fixes a rounding bug (the "Avail" count was sometimes 1 too small). ffs/* (not fixed): The freespace() macro multiplies by minfree, so with the standard minfree of 8, it is broken for file systems of size >= 1TB/8 = 128GB. This bug is more serious since it affects block allocation. ffs/ffs_alloc.c (not fixed): Ordinary users are sometimes allowed to allocate 1 (partial) block too many so that the "Avail" count goes negative. E.g., if there is 1 fragment available and the file is fairly large, one more full block is allocated. df/df.c: ufs_df() used/uses essentially the same code as ffs_statfs(), so it had/has the same bugs. ufs_df() gratuitously replaced "Avail" counts of < 0 by 0, so it gave different results for non-mounted file systems in this case. Notes: svn path=/head/; revision=13424
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-4/+4
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=8855
* You will find enclosed some changes to make gcc -Wall more happy inJoerg Wunsch1995-03-191-21/+23
| | | | | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier) Notes: svn path=/head/; revision=7165
* Added $Id$David Greenman1994-09-243-0/+4
| | | | Notes: svn path=/head/; revision=3044
* The last commit was bogus...the putenv doesn't affect the parent process,David Greenman1994-08-121-10/+3
| | | | | | | | | so the BLOCKSIZE doesn't need to be preserved. Also initialized the flags variables, and used 1k instead of 1024 for BLOCKSIZE. Notes: svn path=/head/; revision=2041
* Implemented the -k flag more properly...don't destroy the user's settingDavid Greenman1994-08-121-2/+11
| | | | | | | of the BLOCKSIZE environment variable. Notes: svn path=/head/; revision=2039
* Gimme back my `-k' option!Garrett Wollman1994-08-102-3/+12
| | | | | | | Also document `-t' option in the usage message. Notes: svn path=/head/; revision=2008
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-263-0/+543
Notes: svn path=/head/; revision=1556