HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
f
ff(1M) ff(1M)
NAME
ff - list file names and statistics for a file system
SYNOPSIS
/usr/sbin/ff [-F FStype][-o
specific_options][-V] special ...
DESCRIPTION
The
ff command reads the i-list and directories of each special file, assuming it to be a file system, saving
i-node data for files that match the selection criteria. Output consists of the path name for each saved i-
node, plus any other file information requested with the
-o option. Output fields are positional. The out-
put is produced in i-node order; fields are separated by tabs. The default line produced by
ff includes the
path name and i-number fields.
Options and Arguments
ff recognizes the following options and arguments:
-F FStype Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If
this option is not included on the command line, then the file system type is deter-
mined from the file
/etc/fstab by matching each special with an entry in that file.
If there is no entry in /etc/fstab, then the file system type is determined from
the file /etc/default/fs
.
-o specific_options
Specify options specific to each file system type. specific_options is a list of suboptions
and/or keyword/attribute pairs intended for a specific FStype-specific module of the
command. See the file-system-specific man pages for a description of the
specific_options supported, if any.
-V Echo the completed command line, but perform no other action. The command line is
generated by incorporating the user-specified options and other information derived
from /etc/fstab . This option allows the user to verify the command line.
EXAMPLES
List the path names and i-numbers of all files in the file system /dev/dsk/c1d2s0
:
ff /dev/dsk/c1d2s0
Execute the ff command on HFS file system /dev/dsk/c1d2s0
:
ff -F hfs /dev/dsk/c1d2s0
Display a completed command line without executing the command:
ff -V /dev/dsk/c1d2s0
FILES
/etc/default/fs File that specifies the default system type.
/etc/fstab Static information about the file systems.
SEE ALSO
find(1), ff_hfs(1M), ff_vxfs(1M), fstyp(1M), ncheck(1M), fstab(4), fs_wrapper(5).
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1M−−229