Page MenuHomeFreeBSD

D55652.id.diff
No OneTemporary

D55652.id.diff

Index: bin/df/df.1
===================================================================
--- bin/df/df.1
+++ bin/df/df.1
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 3, 2026
+.Dd March 3, 2026
.Dt DF 1
.Os
.Sh NAME
@@ -67,7 +67,7 @@
See
.Xr xo_options 7
for details on command line arguments.
-.It Fl a
+.It Fl a , Fl Fl all
Show all mount points, including those that were mounted with the
.Dv MNT_IGNORE
flag.
@@ -82,14 +82,14 @@
The
.Fl k
option overrides this option.
-.It Fl c
+.It Fl c , Fl Fl total
Display a grand total.
.It Fl g
Use 1073741824 byte (1 Gibibyte) blocks rather than the default.
This overrides any
.Ev BLOCKSIZE
specification from the environment.
-.It Fl h
+.It Fl h , Fl Fl human-readable
.Dq Human-readable
output.
Use unit suffixes: Byte, Kibibyte, Mebibyte, Gibibyte, Tebibyte and
@@ -99,7 +99,7 @@
Same as
.Fl h
but based on powers of 1000.
-.It Fl i
+.It Fl i , Fl Fl inode
Include statistics on the number of free and used inodes.
In conjunction with the
.Fl h
@@ -116,7 +116,7 @@
option and any
.Ev BLOCKSIZE
specification from the environment.
-.It Fl l
+.It Fl l , Fl Fl local
Select a locally-mounted file system for display.
If used in combination with the
.Fl t Ar type
@@ -136,7 +136,7 @@
.Nm
will not request new statistics from the file systems, but will respond
with the possibly stale statistics that were previously obtained.
-.It Fl P
+.It Fl P , Fl Fl portability
Explicitly use 512 byte blocks, overriding any
.Ev BLOCKSIZE
specification from the environment.
@@ -146,7 +146,7 @@
The
.Fl k
option overrides this option.
-.It Fl t Ar type
+.It Fl t , Fl Fl type Ar type
Select file systems to display.
More than one type may be specified in a comma separated list.
The list of file system types can be prefixed with
@@ -172,7 +172,7 @@
.Xr lsvfs 1
command can be used to find out the types of file systems
that are available on the system.
-.It Fl T
+.It Fl T , Fl Fl print-type
Include file system type.
.It Fl ,
(Comma) Print sizes grouped and separated by thousands using the
Index: bin/df/df.c
===================================================================
--- bin/df/df.c
+++ bin/df/df.c
@@ -90,7 +90,15 @@
static const struct option long_options[] =
{
+ { "all", no_argument, NULL, 'a' },
+ { "human-readable", no_argument, NULL, 'h' },
+ { "inodes", no_argument, NULL, 'i' },
+ { "local", no_argument, NULL, 'l' },
+ { "portability", no_argument, NULL, 'P' },
+ { "print-type", no_argument, NULL, 'T' },
{ "si", no_argument, NULL, 'H' },
+ { "total", no_argument, NULL, 'c' },
+ { "type", required_argument, NULL, 't' },
{ NULL, no_argument, NULL, 0 },
};

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 28, 12:54 PM (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32258340
Default Alt Text
D55652.id.diff (2 KB)

Event Timeline