aboutsummaryrefslogtreecommitdiff
path: root/bin/df/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* bin: Remove ancient SCCS tags.Warner Losh2023-11-271-1/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* bin/df: allow -t option to be used together with -lStefan Eßer2022-02-101-5/+1
| | | | | | | | | | | | | | | | | | | | The df command provides a -l option to exclude all non-local file systems and a -t option with a (positive or negative) list of file system types to display. This commit adds support for a combination of -l and -t. If both are specified, the parameter list of the -t option is applied on top of the selection of öocal file systems (independently of the order of the -l and -t options). E.g., "df -t noprocfs,sysfs -l" will select all local file systems except those of type procfs and sysfs. PR: 260921 Approved by: imp Relnotes: yes MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33748
* df: Remove support for mounting devicesMark Johnston2020-11-131-3/+0
| | | | | | | | | | | | This was marked deprecated in r329092, over two and a half years ago. This functionality is also buggy per PR 237368. PR: 237368 Reviewed by: brooks, cem, emaste, imp Differential Revision: https://reviews.freebsd.org/D27197 Notes: svn path=/head/; revision=367642
* bin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314655
* Use nmount(2) rather than the obsolete mount(2).Brooks Davis2016-12-141-0/+2
| | | | | | | | | | Reviewed by: cem MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D8513 Notes: svn path=/head/; revision=310095
* Put the undocumented df feature of mounting filesystems from device nodesBrooks Davis2016-12-141-0/+1
| | | | | | | | | | | under an ifdef. Leave enabled. Reviewed by: cem MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D8513 Notes: svn path=/head/; revision=310088
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* Convert bin/ to LIBADD, reduce overlinking allow to build all components asBaptiste Daroussin2014-11-251-2/+1
| | | | | | | static Notes: svn path=/head/; revision=275028
* Convert to use libxo.Marcel Moolenaar2014-11-071-2/+2
| | | | | | | | Obtained from: Phil Shafer <phil@juniper.net> Sponsored by: Juniper Networks, Inc. Notes: svn path=/head/; revision=274213
* Use humanize_number(3) to format sizes into a human readable form.Pawel Jakub Dawidek2004-05-241-2/+2
| | | | Notes: svn path=/head/; revision=129678
* Add -c option simular to du(1).David E. O'Brien2004-04-181-1/+1
| | | | | | | | PR: 19635 Submitted by: cyrille.lefevre@laposte.net Notes: svn path=/head/; revision=128410
* Get this area compiling with the highest WARNS= that it works with.Mark Murray2003-06-131-4/+3
| | | | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 Notes: svn path=/head/; revision=116282
* Remove the private code for reading UFS superblocks, this does not belongPoul-Henning Kamp2002-05-121-0/+2
| | | | | | | | | | | | | | | | | | | in df(1) when we have multiple filesystem types, and the complications of handling UFS2 pushes this over the edge. Use the .../mount/extern.h to get prototypes of the functions we borrow from there. Constify things to match. (why aren't these functions in a lib anyway ?) Make everything static and set WARNS?=5. The way the "df diskdevice" thing works for unmounted diskdevices is not very general. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=96470
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-2/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* BDECFLAGS cleanup (modulo long long issues). Add WARNS. Tested on alpha.Kris Kennaway2001-05-201-0/+2
| | | | | | | Reviewed by: the great man himself (except alpha cleanups) Notes: svn path=/head/; revision=76873
* GC some dead code relating to running df on unmounted block devices,Kris Kennaway2001-05-081-2/+0
| | | | | | | | | | | and remove the setgid operator bit from the installed binary: if you want to view free disk space on an unmounted device, you should have read permissions to access it. Reviewed by: phk Notes: svn path=/head/; revision=76353
* Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in mostBruce Evans2000-03-271-3/+4
| | | | | | | | | | cases and broke the world in some cases. Fixed some style bugs (the usual ones for DPADD and LDADD, misplacement of DPADD and LDADD, and misplacement of $FreeBSD$). Notes: svn path=/head/; revision=58669
* add human readable output (-h and -H)Michael Haro1999-12-151-0/+2
| | | | | | | | | | | | | Obtained from: parts of human readable code from OpenBSD Reviewed by: obrien add POSIX, byte and megabyte block size ouput flags PR: 13579 (POSIX flag) Submitted by: Mike Meyer <mwm@phone.net> Notes: svn path=/head/; revision=54621
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-2/+2
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Add Bruce's _NEW_VFSCONF flag to make this compile cleanly andSteve Price1997-08-071-2/+2
| | | | | | | sccsid -> rcsid. Notes: svn path=/head/; revision=27962
* Merge from Lite2. Straightforward changes.Bruce Evans1997-03-131-2/+7
| | | | Notes: svn path=/head/; revision=23850
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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
* Added $Id$David Greenman1994-09-241-0/+1
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+7
Notes: svn path=/head/; revision=1556