[Bug 260921] /bin/df: make -l and -t nonexclusive, allow multiple -t options
Date: Tue, 04 Jan 2022 12:19:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260921
Bug ID: 260921
Summary: /bin/df: make -l and -t nonexclusive, allow multiple
-t options
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: feature
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: pauamma@gundo.com
df currently rejects using both -l and -t, thus making it impossible to ask for
free space on some but not all local filesystems as the sysinfo plugin in
irc/hexchat tries to.
Following an IRC discussion with kevans, the following tentative specification
emerged:
1- make it possible to use -l and -t nofoo together to select all local
filesystems except those of type foo.
2- (suggested by kevans) make it possible to use -l and -t foo together to
select all local filesystems and those of type foo (eg, local and NFS but not
Samba).
kevans also suggested allowing multiple -t options, both additive and
subtractive) but I think the meaning of that needs more discussion (and it
arguably breaks the POLA) so I'm not including it in this change request.
--
You are receiving this mail because:
You are the assignee for the bug.