bdf(1M) bdf(1M)
NAME [Toc] [Back]
bdf - report number of free disk blocks (Berkeley version)
SYNOPSIS [Toc] [Back]
/usr/bin/bdf [-b] [-i] [-l] [-s] [-t type | [filesystem|file] ... ]
DESCRIPTION [Toc] [Back]
The bdf command displays the amount of free disk space available
either on the specified filesystem (/dev/dsk/c0d0s0, for example) or
on the file system in which the specified file (such as $HOME), is
contained. If no file system is specified, the free space on all of
the normally mounted file systems is printed. The reported numbers
are in kilobytes.
Options [Toc] [Back]
The bdf command recognizes the following options:
-b Display information regarding file system
swapping.
-i Report the number of used and free inodes.
-l Display information for local file systems only
(for example, HFS and CDFS file systems).
-s Do not sync the file system data on the disk
before reporting the usage.
-t type Report on the file systems of a given type (for
example, nfs or hfs).
RETURN VALUE [Toc] [Back]
The bdf command returns 0 on success (able to get status on all file
systems), or returns 1 on failure (unable to get status on one or more
file systems).
WARNINGS [Toc] [Back]
If file system names are too long, the output for a given entry is
displayed on two lines.
The bdf command does not account for any disk space reserved for swap
space, or used for the HFS boot block (8 KB, 1 per file system), HFS
superblocks (8 KB each, 1 per disk cylinder), HFS cylinder group
blocks (1 KB - 8 KB each, 1 per cylinder group), and inodes (currently
128 bytes reserved for each inode). Non-HFS file systems may have
other items not accounted for by this command.
AUTHOR [Toc] [Back]
bdf was developed by the University of California, Berkeley.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: Sep 2004
bdf(1M) bdf(1M)
FILES [Toc] [Back]
/etc/fstab Static information about the file systems.
/etc/mnttab Mounted file system table.
/dev/dsk/* File system devices.
SEE ALSO [Toc] [Back]
df(1M), fstab(4), mnttab(4).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: Sep 2004 [ Back ] |