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.

-t type1 [, type2 , ... ]

Show only filesystem types specified.

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.