Name
df
Synopsis
df [options] [name]
Reports the number of free disk blocks and inodes available on all
mounted filesystems or on the given name.
(Unmounted filesystems are checked with -F.)
name can be a device name (e.g.,
/dev/disk0s9), the directory name of a mount
point (e.g., /Volumes/Drive2), a directory name,
or a remote filesystem name (e.g., an NFS filesystem). Besides the
options listed, there are additional options specific to different
filesystem types or df modules.
Options
-
-a Show all mount points, even if mounted with
MNT_IGNORE.-
-b Print sizes in 512-byte blocks.
-
-g Print sizes in gigabytes.
-
-i Report free, used, and percent-used inodes.
-
-k Print sizes in kilobytes.
-
-l Show local filesystems only.
-
-m Print sizes in megabytes.
-
-n Print already known, potentially stale statistics about the filesystems, without requesting or calculating new statistics. This should be used only when requesting statistics would cause a large delay.
-
-ttype1[,type2,...] Show only filesystem types specified.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access