]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bin/df: allow -t option to be used together with -l
authorStefan Eßer <se@FreeBSD.org>
Thu, 10 Feb 2022 20:09:34 +0000 (21:09 +0100)
committerStefan Eßer <se@FreeBSD.org>
Fri, 4 Mar 2022 19:49:21 +0000 (20:49 +0100)
commitc888fc2d97ee3e25269ca8218f80769bca930705
tree89a1054bb4ab1cc4438dfcdd6f59eeb76d633f3f
parent977ed30681c346a0b6be76a2e03b6651b94b58aa
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.

(cherry picked from commit f0fd4a32c4f7ab5eb008ab08a1a13cb20d4b30d2)
bin/df/Makefile
bin/df/df.1
bin/df/df.c