Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ df(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck, dfsck

filesystem

df

PURPOSE

     Reports number of available disk blocks.

SYNOPSIS
     df [ -s ] [filesystem...]


DESCRIPTION

     The  df command  writes  to  standard output  information
     about total  space and  available space on  the specified
     file systems.  filesystem  can be the name  of the device
     on  which the  file system  resides or  the directory  on
     which it is  mounted.  If you do  not specify filesystem,
     df uses each file system in /etc/filesystems that has the
     attribute "free=true".

     Normally, df  uses free  counts maintained in  the super-
     block.   Under certain  exceptional circumstances,  these
     counts may be in error.

     If  a  file system  is  being  actively modified  at  the
     instant df is run, the free count may be inaccurate.

FLAG

     -s Checks for count errors by  forcing df to fully search
        the free lists  to verify the counts.   The df command
        requires considerably more processing time when the -s
        flag is specified.

EXAMPLES

     1.  To list information about all default file systems:

           df

         If your system is configured so that the /, /usr, /u,
         and /tmp directories reside in separate file systems,
         the output  from the df command  looks something like
         this:

           Device       Mounted on      total     free  used     ifree  used
           /dev/hd0     /               19368     9976   48%      4714    5%
           /dev/hd1     /usr            24212     4808   80%      5031   19%
           /dev/hd2     /u               9744     9352    4%      1900    4%
           /dev/hd5     /tmp             3868     3856    0%       986    0%

     2.  To  list  information  about  the file  system  on  a
         diskette:

           df /dev/fd0

     3.  To list  information about  the file  system normally
         mounted as /diskette0:

           df /diskette0

FILES

     /etc/filesystems

RELATED INFORMATION

     The following command:  "fsck, dfsck."

     The  filesystem file  in AIX  Operating System  Technical
     Reference.

     The  discussion  of  df  in Managing  the  AIX  Operating
     System.

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