HPlogo HP-UX Reference Volume 2 of 5 > f

ff_vxfs(1M)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

ff (vxfs) — fast find: list file names and statistics for a VxFS file system

SYNOPSIS

/usr/sbin/ff [-F vxfs] [-VIlsu] [-p prefix] [-a num] [-m num] [-c num] [-n file] [-i inode-list] [-o specific_options] special ...

DESCRIPTION

The ff command reads the i-list and directories of the special file special, assuming it to be a VxFS file system, printing i-node data for files that match the selection criteria. Output consists of the pathname for each saved i-node, plus any other file information requested using the print options below. Output fields are positional. The output is produced in i-node order; fields are separated by tabs. The default line produced by the ff command includes the path name and i-number fields. With all options specified, the output fields include path name, i-number, size, and user ID.

The num parameter in the options descriptions is a decimal number, where +num means more than num days, -num means less than num days, and num means exactly num days. A day is defined as a 24 hour period.

Options

ff recognizes the following options:

-a num

Select a file if the i-node has been accessed in num days.

-c num

Select a file if the i-node has been changed in num days.

-F vxfs

Specify the VxFS file system type.

-i inode-list

Generate names for any i-nodes specified in the inode-list.

-I

Does not display the i-node number after each path name.

-l

Generates a list of all path names for files with more than one link.

-m num

Select a file associated with the i-node if it has been modified in num days.

-n file

Select a file associated with an i-node if it has been modified more recently than the specified file.

-p prefix

Adds the specified prefix to each path name. The default prefix is . (dot).

-o specific_options

Specify options specific to the VxFS file system type. specific_options is a list of suboptions and/or keyword/attribute pairs intended for the VxFS specific module of the command.

The available option is:

s

Display only special files and files with set-user-ID mode.

-s

Writes the file size, in bytes, after each path name.

-u

Writes the owner's login name after each path name.

-V

Echo the completed command line, but performs 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/vg01/rlvol1:

ff /dev/vg01/rlvol1

Same as above, but suppress the printing of i-numbers:

ff -I /dev/vg01/rlvol1

List files on the same file system that have been modified recently, displaying the path name, i-number, and owner's user name (-u option). List only files that have been modified within the last two days (-m -2 option):

ff -m -2 -u /dev/vg01/rlvol1

List all files on the same file system, including the path name and i-number of each file, that was last accessed more than 30 days ago (-a +30):

ff -a +30 /dev/vg01/rlvol1

Find all path names associated with i-nodes 451 and 76 (-l option):

ff -l -i 451,76 /dev/vg01/rlvol1

Execute the ff command on a VxFS file system /dev/vg01/rlvol1:

ff -F vxfs /dev/vg01/rlvol1

FILES

/etc/fstab

Static information about the file systems.

© Hewlett-Packard Development Company, L.P.