df(1M) DG/UX R4.11MU05 df(1M)
NAME
df - report number of free disk blocks and inodes
SYNOPSIS
df [ -F fstype ] [ -bcefgiklntV ] [ -o options ]
[ file-sys | special | directory ] ...
where:
fstype dg/ux or nfs
options One or more options (see description of -o below)
file-sys The name of the mount-point directory of a file system
(e.g., /usr)
special A special filename referring to a device containing a file
system (e.g., /dev/dsk/usr)
directory A directory name
DESCRIPTION
Df displays the number of free blocks and free file entries (inodes)
available for online file systems. If you specify a directory, df
gives information for the file system containing that directory. If
you omit the arguments, df shows the free space on all of the mounted
file systems.
Options
-b Report only the number of free kilobytes available on the file
system.
-c If directory is a CPD or is contained within a CPD, compute
free blocks and free inodes based on the CPD limits rather
than on the file system limits.
-e Report only the number of free file entries on the file
system.
-f Count only the blocks in the free list (free file entries are
not reported). With this option, df can report on raw
devices.
-g Report information returned by the statvfs(2) function call
for the file system(s).
-i Report on inode use using a Berkeley-style format which
includes the count of used and free inodes and the percent of
inodes in use.
-k Report on free space using a Berkeley-style format which
includes total space, space in use, space available for non-
privileged users, and the percent of the non-privileged user
capacity currently in use. The sizes are in kilobytes.
-l Report only on local file systems.
-n Report only the type of the file system.
-o Provide fstype-specific options. This option is ignored in
the DG/UX System, but is allowed for compatibility with other
systems.
-t Report also the total number of blocks and file entries
initially allocated to the file system. The -t option can be
used together with the -k or -i options to report the totals
for all requested file systems.
-F Report only on file systems of type fstype.
-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. This option should be
used to verify and validate the command line.
The sum of the space in use and the available space reported by the
-k option may be less than the total space because some space
(typically around 10%) is reserved for allocation by a user with
appropriate privilege. On a generic DG/UX system, appropriate
privilege is granted by having an effective UID of 0 (root). See the
appropriateprivilege(5) man page for more information.
On a system with DG/UX information security, appropriate privilege is
granted by having one or more specific capabilities enabled in the
effective capability set of the user. See capdefaults(5) for the
default capabilities needed for the various commands which might
allocate privileged space.
The capacity figure is based on the space available for a non-
privileged user.
The numbers of free blocks and free file nodes take into account any
applicable control point directory limits.
Inode information and control point directory limits are not
available for remote file systems. Unavailable information is
indicated by a question mark or a zero value.
EXAMPLES
df /usr
df /dev/dsk/usr
df /dev/rdsk/usr
The first example specifies a mounted directory name.
The second and third examples specify device names in the DG/UX
System.
FILES
/dev/dsk/*
SEE ALSO
cpd(1), fs(4), mnttab(4), capdefaults(5).
Licensed material--property of copyright holder(s)