ff_vxfs(1M) ff_vxfs(1M)
NAME [Toc] [Back]
ff_vxfs: ff - fast find: list file names and statistics for a VxFS
file system
SYNOPSIS [Toc] [Back]
ff [-F vxfs] [-VIlsu] [-a num] [-c num] [-i inode-list]
[-m num] [-n file] [-o s] [-p prefix] special...
DESCRIPTION [Toc] [Back]
ff reads the inode list and directories of each special file, assuming
it to be a VxFS file system, and prints inode data for files that
match the selection criteria. Output consists of the pathname for
each saved inode, plus any other file information requested using the
print options below. Output fields are positional. The output is
produced in inode order; fields are separated by tabs. The default
line produced by ff is:
pathname inumber
The pathname is preceded by a dot (.) unless you specify the -p
generic option. The maximum information ff displays is:
pathname inumber size owner
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.
ff prints summary information to standard error output in addition to
the report sent to standard output.
Options [Toc] [Back]
ff recognizes the following options:
-a num Select a file if the inode has been accessed in
num days.
-c num Select a file if the inode has been changed in num
days.
-F vxfs Specify the VxFS file system type.
-i inode-list Generate names for any inodes specified in the
inode-list.
-I Do not display the inode number after each
pathname.
-l Generate a list of all pathnames for files with
more than one link.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
ff_vxfs(1M) ff_vxfs(1M)
-m num Select a file associated with the inode if it has
been modified in num days.
-n file Select a file associated with an inode if it has
been modified more recently than the specified
file.
-p prefix Add the specified prefix to each pathname. The
default prefix is dot (.).
-o s Print only special files and files with set-userID
mode (VxFS-specific option).
-s Write the file size, in bytes, after each
pathname.
-u Write the owner's login name after each pathname.
-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.
Operands [Toc] [Back]
ff recognizes the following operand:
special Name of a VxFS file system.
EXAMPLES [Toc] [Back]
List the pathnames and inumbers of all files in the file system
/dev/vg01/rlvol1:
ff /dev/vg01/rlvol1
Same as above, but suppress the printing of inumbers:
ff -I /dev/vg01/rlvol1
List files on the same file system that have been modified in the last
two days (-m -2), displaying the pathname, inumber, and owner's user
name (-u).
ff -m -2 -u /dev/vg01/rlvol1
List all files on the same file system, including the pathname and
inumber of each file, that were last accessed more than 30 days ago
(-a +30):
ff -a +30 /dev/vg01/rlvol1
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003
ff_vxfs(1M) ff_vxfs(1M)
Find all pathnames associated with inodes 451 and 76 (-l):
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 [Toc] [Back]
/etc/fstab Static information about the file systems.
SEE ALSO [Toc] [Back]
find(1), ff(1M), ncheck_vxfs(1M), fstab(4).
Hewlett-Packard Company - 3 - HP-UX 11i Version 2: August 2003 [ Back ] |