df

Name

df -- report filesystem disk space usage

Description

The specification for "df" is as specified in the SUS but with the following differences as listed below.

Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.

If an argument is the absolute file name of a disk device node containing a mounted filesystem, df shows the space available on that filesystem rather than on the filesystem containing the device node (which is always the root filesystem)

Differences

-a, --all

include filesystems having 0 blocks

--block-size=SIZE

use SIZE-byte blocks

-h, --human-readable

print sizes in human readable (e.g., 1K 234M 2G)

-H, --si

likewise, but use powers of 1000 not 1024

-i, --inodes

list inode information instead of block usage

-l, --local

limit listing to local filesystems

-l, --local

limit listing to local filesystems

-m, --megabytes

like --block-size=1048576

--no-sync

do not invoke sync before getting usage info (default)

-P, --portability

use the POSIX output

--sync

invoke sync before getting usage info

-t, --type=TYPE

use the POSIX output

--portability

Same as the -P option as specified in SUS

--sync

invoke sync before getting usage info

-t, --type=TYPE

This option is different from what is specified in the SUS.

limit listing to filesystems of type TYPE

-T, --print-type

print filesystem type

-x, --exclude-type=TYPE

limit listing to filesystems not of type TYPE