ff(ADM)
ff --
list file names and statistics for a filesystem
Syntax
/etc/ff [options] special
Description
The ff command is provided in SCO OpenServer Release 6.0.0 for
compatibility purposes.
This command can only be run by root or
by users who have permission to read the special device.
The ff command only applies to
S51K, ES51K, AFS,
and EAFS filesystem types.
In most cases, use
find(C)
instead.
The ff command reads the i-list and directories of the
special device, assuming it is a filesystem.
Inode data is saved for files which match the selection criteria.
Output consists of the path name for each saved inode, plus
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:
path-name i-number
With all options enabled, output fields would be:
path-name i-number size uid
The argument n in the option descriptions
that follow is used as a decimal integer (optionally signed), where
+n means more than n,
-n means less than n,
and n means exactly n.
A day is defined as a 24-hour period.
-I-
Do not print the inode number after each path name.
-l-
Generate a supplementary list of all path names for multiple-linked
files.
-pprefix-
The specified prefix will be added to each generated path name.
The default is dot (``.'').
-s-
Print the file size, in bytes, after each path name.
-u-
Print the owner's login name after each path name.
-an-
Select if the inode has been accessed in n days.
-mn-
Select if the inode has been modified in n days.
-cn-
Select if the inode has been changed in n days.
-nfile-
Select if the inode has been modified more recently than the argument
file.
-iinode-list-
Generate names for only those inodes specified in inode-list.
Limitations
Results may be incorrect if the filesystem is being
modified at the same time that this command is run.
If the -l option is not specified, only a single path name
out of all possible ones is generated for a multiple-linked inode.
If -l is specified, all possible names for every linked
file on the file system are included in the output.
However, no selection criteria apply to the names generated.
This command only works on UNIX filesystems.
See also
ff_vxfs(ADM),
find(C),
ncheck(ADM)
Notices
A version of ff
that can handle files greater than 2GB
is available in /u95/bin. See
ff(1M)
for more information.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005