Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

du(1)

mount(8)

quot(8)

quota(1)

fstatfs(2)

statfs(2)

fstab(4)

fstab(4)

df(1)  —  Commands

OSF  —  Environment_Note_Added

NAME

df − Displays statistics on free disk space

SYNOPSIS

df [-ikn] [-t type] [file | file_system ...]

The df command displays statistics on the amount of free disk space on file_system or on the file system of which file is a part. 

FLAGS

-iIncludes statistics on the number of free inodes. 

-kCauses the numbers to be reported in kilobytes.  By default, all reported numbers are in 512-byte blocks. 

-nPrints out the previously obtained statistics from all mounted file systems.  Use this flag if it is possible that one or more file systems are in a state such that they will not be able to provide statistics without a long delay (for example, a remote file system on a server that has crashed).  When this flag is specified, df does not request new statistics from the file systems; for some remote file systems, the statistics displayed may be too old to be useful. 

-t typeDisplays statistics for the specified file system type only.  Available file system types include the following:

s5fsSystem V File System

nfsNetwork File System

pcXenix

ufsUNIX File system (Berkeley Fast File System) (default)

mfsMemory file system

DESCRIPTION

If neither a file or a file system is specified, statistics for all mounted file systems are displayed. 

ENVIRONMENT NOTES

This section describes system features that are not generic to OSF/1 but that are provided in this OSF/1 implementation. 

System V Compatibility

The root of the directory tree that contains the commands modified for SVID-2 compliance is specified in the file /etc/svid2_path. You can use /etc/svid2_profile as the basis for, or to include in, your .profile.  The file /etc/svid2_profile reads /etc/svid2_path and sets the first entries in the PATH environment variable so that the modified SVID-2 commands are found first. 

The df command, as modified for SVID-2 compliance, accepts one command line option (-t, print space totals) and an optional file system name or device name.  The command displays the mount point, the mounted device, the number of free blocks (in 512-byte quantities), and the number of free inodes.  If the -t option is specified, the command displays, on a separate line following the free block counts, the total number of blocks and inodes for each mounted device. 

RELATED INFORMATION

Commands: du(1), mount(8), quot(8), quota(1). 

Functions: fstatfs(2), statfs(2). 

Files: fstab(4). 
 
 
s: fstab(4). 
 
 

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