1ff(1M)                  System Administration Commands                  ff(1M)
2
3
4

NAME

6       ff - list file names and statistics for a file system
7

SYNOPSIS

9       ff [-F FSType] [-V] [generic_options] [-o specific_options] special...
10
11

DESCRIPTION

13       ff  prints  the pathnames and inode numbers of files in the file system
14       which resides on the special device special.  Other  information  about
15       the files may be printed using options described below.  Selection cri‐
16       teria may be used to instruct  ff to only print information for certain
17       files.  If  no  selection  criteria  are specified, information for all
18       files considered will be printed (the default); the -i  option  may  be
19       used to limit files to those whose inodes are specified.
20
21
22       Output  is  sorted  in ascending inode number order.   The default line
23       produced by ff is:
24
25
26       path-name i-number
27
28
29       The maximum information the command will provide is:
30
31
32       path-name i-number size uid
33

OPTIONS

35       -F                 Specify the  FSType on which to operate. The  FSType
36                          should  either  be specified here or be determinable
37                          from  /etc/vfstab by matching the  special  with  an
38                          entry    in    the    table,    or   by   consulting
39                          /etc/default/fs.
40
41
42       -V                 Echo the complete command line, but do  not  execute
43                          the  command. The command line is generated by using
44                          the options and arguments provided by the  user  and
45                          adding    to    them    information   derived   from
46                          /etc/vfstab. This option may be used to  verify  and
47                          validate the command line.
48
49
50       generic_options    Options  that  are supported by most FSType-specific
51                          modules of the command.  The following  options  are
52                          available:
53
54                          -I                Do  not  print  the  i-node number
55                                            after each path name.
56
57
58                          -l                Generate a supplementary  list  of
59                                            all path names for multiply-linked
60                                            files.
61
62
63                          -p prefix         The specified prefix will be added
64                                            to  each  generated path name. The
65                                            default is `.' (dot).
66
67
68                          -s                Print the  file  size,  in  bytes,
69                                            after each path name.
70
71
72                          -u                Print the owner's login name after
73                                            each path name.
74
75
76                          -a -n             Select  if  the  file   has   been
77                                            accessed in n days.
78
79
80                          -m -n             Select  if the file has been writ‐
81                                            ten or created in n days.
82
83
84                          -c -n             Select if file's status  has  been
85                                            changed in n days.
86
87
88                          -n file           Select  if the file has been modi‐
89                                            fied more recently than the  argu‐
90                                            ment file.
91
92
93                          -i i-node-list    Generate  names  for only those i-
94                                            nodes specified in i-node-list. i-
95                                            node-list  is  a  list  of numbers
96                                            separated  by  commas   (with   no
97                                            intervening spaces).
98
99
100
101       -o                 Specify   FSType-specific  options  in a comma sepa‐
102                          rated (without spaces) list of suboptions  and  key‐
103                          word-attribute   pairs  for  interpretation  by  the
104                          FSType-specific module of the command.
105
106

OPERANDS

108       special    A special device.
109
110

USAGE

112       See largefile(5) for the description of the behavior of ff when encoun‐
113       tering files greater than or equal to 2 Gbyte ( 2^31 bytes).
114

FILES

116       /etc/default/fs    default  local  file system type. Default values can
117                          be set for the following flags  in  /etc/default/fs.
118                          For example: LOCAL=ufs
119
120                          LOCAL    The  default  partition for a command if no
121                                   FSType is specified.
122
123
124
125       /etc/vfstab        list of default parameters for each file system
126
127

ATTRIBUTES

129       See attributes(5) for descriptions of the following attributes:
130
131
132
133
134       ┌─────────────────────────────┬─────────────────────────────┐
135       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
136       ├─────────────────────────────┼─────────────────────────────┤
137       │Availability                 │SUNWcsu                      │
138       └─────────────────────────────┴─────────────────────────────┘
139

SEE ALSO

141       find(1), ncheck(1M), stat(2),  vfstab(4),  attributes(5),  largefile(5)
142       Manual pages for the  FSType-specific modules of ff.
143

NOTES

145       This command may not be supported for all  FSTypes.
146
147
148       The  -a, -m, and -c flags examine the  st_atime, st_mtime, and st_ctime
149       fields of the stat structure respectively.  (See stat(2).)
150
151
152
153SunOS 5.11                        10 Feb 1997                           ff(1M)
Impressum