Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > B

bdf(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

bdf — report number of free disk blocks (Berkeley version)

SYNOPSIS

/usr/bin/bdf [-b] [-i] [-l] [-s] [-t type | [filesystem|file] ... ]

DESCRIPTION

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

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. Note that the data reported by bdf may not be up to date.

-t type

Report on the file systems of a given type (for example, nfs or hfs).

RETURN VALUE

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

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

bdf was developed by the University of California, Berkeley.

FILES

/etc/fstab

Static information about the file systems.

/etc/mnttab

Mounted file system table.

/dev/dsk/*

File system devices.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.