Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ df(1M) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df_s5(1M)

df_ufs(1M)

df_cdfs(1M)

mount(1M)

statvfs(2)

mnttab(4)

vfstab(4)

df(1M)  —  ADMINISTRATOR COMMANDS

NAME

df (generic) − report number of free disk blocks and files

SYNOPSIS

df [−F FSType] [−begklntVv] [current_options] [−o specific_options] [directory | special | resource...]

DESCRIPTION

df prints the allocation portions of the generic superblock for mounted or unmounted file systems, directories or mounted resources.  directory represents a valid directory name.  If directory is specified df reports on the device that contains the directory.  special represents a special device (for example, /dev/dsk/m328_c0d0s0).  resource is an RFS/NFS resource name.  If arguments to df are pathnames, df produces a report on the file system containing the named file. 

current_options are options supported by the s5-specific module of df.  Other FSTypes do not necessarily support these options.  specific_options indicate suboptions specified in a comma-separated list of suboptions and/or keyword-attribute pairs for interpretation by the FSType-specific module of the command.  See df_FSType(1M) for details. 

The options are:

−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 mount_point, special, or resource with an entry in the table. 

−b Print only the number of kilobytes free. 

−e Print only the number of files free. 

−g Print the entire statvfs structure.  Used only for mounted file systems.  Can not be used with current_options or with the -o option.  This option will override the -b, -e, -k, -n, and -t options. 

−k Print allocation in kilobytes.  This option should be invoked by itself because its output format is different from that of the other options. 

−l Report on local file systems only.  Used only for mounted file systems.  Can not be used with current_options or with the -o option. 

−n Print only the FSType name.  Invoked with no arguments this option prints a list of mounted file system types.  Used only for mounted file systems.  Can not be used with current_options or 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 or /etc/vfstab.  This option should be used to verify and validate the command line. 

−v Print verbose listing.  This option prints the mount point, file system, total number of blocks, blocks used, blocks free, and percentage of blocks in use. 

−o Specify FSType-specific options. 

If no arguments or options are specified, the free space on all local and remotely mounted file systems is printed. 

NOTES

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

This command may not be supported for all FSTypes. 

FILES

/dev/dsk/∗
/etc/mnttabmount table
/etc/vfstablist of default parameters for each file system

SEE ALSO

df_s5(1M), df_ufs(1M), df_cdfs(1M), mount(1M), statvfs(2), mnttab(4), vfstab(4). 

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