diff options
author | Stefan Eßer <se@FreeBSD.org> | 2022-02-10 20:09:34 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2022-02-10 20:09:34 +0000 |
commit | f0fd4a32c4f7ab5eb008ab08a1a13cb20d4b30d2 (patch) | |
tree | 174c25125f119632352a1022df1dafa6c897e70f /bin/df/Makefile | |
parent | cb51e2bc3db7e266c26d8165243605f0be771e56 (diff) | |
download | src-f0fd4a32c4f7ab5eb008ab08a1a13cb20d4b30d2.tar.gz src-f0fd4a32c4f7ab5eb008ab08a1a13cb20d4b30d2.zip |
bin/df: allow -t option to be used together with -l
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
Diffstat (limited to 'bin/df/Makefile')
-rw-r--r-- | bin/df/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/df/Makefile b/bin/df/Makefile index 445a999a49a7..9e875613c9c9 100644 --- a/bin/df/Makefile +++ b/bin/df/Makefile @@ -2,13 +2,9 @@ # $FreeBSD$ PACKAGE=runtime -MOUNT= ${SRCTOP}/sbin/mount -.PATH: ${MOUNT} PROG= df -SRCS= df.c vfslist.c - -CFLAGS+= -I${MOUNT} +SRCS= df.c LIBADD= xo util |