Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ df(C) — OpenDesktop 2.0.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(ADM)

mnttab(F)

mount(ADM)


 df(C)                           19 June 1992                           df(C)


 Name

    df - report number of free disk blocks

 Syntax

    df [ -t ] [ -f ] [ -v -i ] [ filesystems ]

 Description

    df prints out the number of free blocks and free inodes available for
    on-line filesystems by examining the counts kept in the super-blocks;
    filesystems may be specified by device name (for example, /dev/root).  If
    the filesystems argument is unspecified, the free space on all of the
    mounted filesystems is sent to the standard output.  The list of mounted
    filesystems is given in /etc/mnttab.

    Options include:

    -t  Causes total allocated block figures to be reported as well as number
        of free blocks.

    -f  Reports only an actual count of the blocks in the free list (free
        inodes are not reported).  With this option, df reports on raw de-
        vices.

    -v  Reports the percent of blocks used as well as the number of blocks
        used and free.

    -i  Reports the percent of inodes used as well as the number of inodes
        used and free.  Use the -i option with the -v option to display
        counts of blocks and inodes free as well as the percentage of inodes
        and blocks used.

    The -v and -i options cannot be used with other df options.

 Files

    /dev/*
    /etc/mnttab

 See also

    fsck(ADM), mnttab(F), mount(ADM)

 Notes

    See ``Notes'' under mount(ADM).

    This utility reports sizes in 512 byte blocks.  df will report 2 blocks
    less free space, rather than 1 block, since the file uses one system
    block of 1024 bytes.

    The directory /etc/fscmd.d/TYPE contains programs for each filesystem
    type df invokes the appropriate binary.

 Authorization

    The behavior of this utility is affected by assignment of the queryspace
    authorization.  Refer to the ``Using a secure system'' chapter of the
    User's Guide for more details.

 Standards conformance

    df is conformant with:

    AT&T SVID Issue 2;
    and X/Open Portability Guide, Issue 3, 1989.


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