Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(1M)

statvfs(2)

mnttab(4)

vfstab(4)

df(1M)

NAME

df − report number of free disk blocks and files

SYNOPSIS

df [ −F FSType ] [ −abegklntV ] [ −o FSType-specific_options ]

[ directory | block_device | resource ... ]

AVAILABILITY

SUNWcsu

DESCRIPTION

df displays the amount of disk space occupied by mounted or unmounted file systems, directories, or mounted resources, the amount of used and available space, and how much of the file system’s total capacity has been used.  directory represents a valid directory name.  If directory is specified, df reports on the file system that contains directory. block_device represents a block special device (for example, /dev/dsk/c1d0s7); if block_device is specified, the corresponding file system need not be mounted.  resource is an RFS/NFS resource name.  Used without arguments or options, df reports on all mounted file systems. 

OPTIONS

−F Specify the FSType on which to operate.  This is only needed if the file system is unmounted.  The FSType should be specified here or be determinable from /etc/vfstab by matching the directory, block_device, or resource with an entry in the table, or by consulting /etc/default/fs. 

−a Report on all filesystems including ones which have zero total blocks (automounter). 

−b Print only the number of kilobytes free. 

−e Print only the number of files free. 

−g Print the entire statvfs structure.  This option is used only for mounted file systems.  It cannot be used with the −o option.  This option will override the −b, −e, −k, −n, and −t options. 

−k Print allocation in kilobytes. This option will override the −b, −e, −n, and −t options. 

−l Report on local file systems only.  This option is used only for mounted file systems.  It cannot be used with the −o option. 

−n Print only the FSType name.  Invoked with no arguments, this option prints a list of mounted file system types.  This option is used only for mounted file systems.  It cannot be used with the −o option. 

−t Print full listings with totals.  This option will override the −b, −e, and −n options. 

−V Echo the complete command line, but do not execute the command.  The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/mnttab, /etc/vfstab, or /etc/default/fs.  This option may be used to verify and validate the command line. 

−o Specify FSType-specific options.  These options are comma-separated, with no intervening spaces.  See the manual page for the FSType-specific command for details.

FILES

/dev/dsk/∗ disk devices

/etc/default/fs
default local file system type

/etc/mnttab mount table

/etc/vfstab list of default parameters for each file system

SEE ALSO

mount(1M), statvfs(2), mnttab(4), vfstab(4)
Manual pages for the FSType-specific modules of df. 

NOTES

The −F option is intended for use with unmounted file systems. 

This command may not be supported for all FSTypes.

SunOS 5.1/SPARC  —  Last change: 14 Sep 1992

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