Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

du(1)

fsck(1M)

fs(4)

mnttab(4)

df(1M)

NAME

df − report number of free disk blocks

SYNOPSIS

df [-t] [-f] [-b] [-l|-L] [file_systems]

DESCRIPTION

df prints the number of free 512-byte blocks and free inodes available for on-line file systems by examining the counts kept in the super-block or super-blocks.  file_systems can be specified either by device name (e.g., /dev/dsk/0s1) or by mounted directory name (e.g., /usr).  If file_systems is not specified, the free space on all of the mounted file systems is printed. 

Options

df recognizes the following options:

-t Total allocated block figures are also reported. 

-f Only an actual count of the blocks in the free list is made (free inodes are not reported).  When this option is specifed, df reports on raw devices. 

-b Report total number of blocks allocated for swapping to the file system as well as the number of blocks free for swapping to the file system. 

-l In the HP Clustered environment, display information for only HFS and CDFS file systems mounted on the local cnode ( NFS mounts are not displayed). 

-L In the HP Clustered environment, display information for file systems that can be unmounted from the local cnode.  (Includes file systems mounted on the local node and cluster-wide NFS mounts). 

When df is used on an HFS file system, the file space reported is the space available to the ordinary user, and does not include the reserved file space specified by fs_minfree.  Unreported reserved blocks are available only to users who have appropriate privileges.  See fs(4) for information about fs_minfree. 

When df is used on NFS file systems, the number of inodes is displayed as −1 .  This is due to to super-user access restrictions over NFS. 

WARNINGS

df does not account for any disk space reserved for swap space, or space used for the HFS boot block (8k bytes, 1 per file system), HFS superblocks (8k bytes each, 1 per disk cylinder), HFS cylinder group blocks (1k-8k bytes each, 1 per cylinder group), and inodes (currently 128 bytes reserved for each inode).  Non- HFS file systems may have other items that this command does not account for. 

In the HP Clustered Environment, device and mountpoint pathnames are displayed with context-dependent files expanded. 

FILES

/dev/dsk/*
/etc/mnttab

SEE ALSO

du(1), fsck(1M), fs(4), mnttab(4). 

STANDARDS CONFORMANCE

df: SVID2, XPG2, XPG3

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026