1 | .ll 6i |
---|
2 | .TH STATFILE 5 "4 November 1986" |
---|
3 | .UC 4 |
---|
4 | .SH NAME |
---|
5 | statfile \- list type, name, and currentness of files for track |
---|
6 | .SH DESCRIPTION |
---|
7 | A |
---|
8 | .I statfile |
---|
9 | is a listing of objects to be handled by the |
---|
10 | .B track |
---|
11 | system. |
---|
12 | Objects are either ordinary files, directories, or symbolic links. |
---|
13 | .I Statfiles |
---|
14 | contain one line for each object. The format of the lines |
---|
15 | is as follows: |
---|
16 | .PP |
---|
17 | The first character on the line describes the type of object being handled. |
---|
18 | This character must be either "f" for ordinary files, "d" for directories, or |
---|
19 | "l" for symbolic links. |
---|
20 | .PP |
---|
21 | Immediately following the first character (i.e. with NO white space separation), is the full |
---|
22 | path name of the object. |
---|
23 | .PP |
---|
24 | Whitespace -- space(s) and/or tab(s) -- must follow the pathname. The last item |
---|
25 | on the line is a string that describes the |
---|
26 | .I currentness |
---|
27 | of the object. For ordinary files, this string is the modification date of the |
---|
28 | file expressed in number of seconds since the epoch. |
---|
29 | For directories, this string consists of the name of the directory's owner, |
---|
30 | followed by a period ("."), then the name of the directory's group, another period, |
---|
31 | and finally the mode bits of the directory (in octal). |
---|
32 | For symbolic links, the string consists of the name of the file towards which |
---|
33 | the link is pointing. |
---|
34 | .SH EXAMPLES |
---|
35 | d/bin root.root.40755 |
---|
36 | .br |
---|
37 | f/bin/df 476233823 |
---|
38 | .br |
---|
39 | l/usr/ucb/newaliases /usr/lib/sendmail |
---|
40 | .PP |
---|
41 | The above three lines tell |
---|
42 | .B track |
---|
43 | that the directory "/bin" is available and it is owned by "root" as well as group "root" |
---|
44 | and has modes "40755" (Normally written by the |
---|
45 | .B ls |
---|
46 | command as "drwxr-xr-x"). |
---|
47 | Similarly, the ordinary file named "/bin/df" is available to |
---|
48 | .I subscribers |
---|
49 | and its modification date is "476233823 seconds since the epoch" (Normally written |
---|
50 | by the |
---|
51 | .B ls |
---|
52 | command as 6:10:23 on February 2, 1985). |
---|
53 | The symbolic link "/usr/ucb/newaliases" is also available, and is pointing to |
---|
54 | "/usr/lib/sendmail". |
---|
55 | .SH FILES |
---|
56 | .../track/stats/ |
---|
57 | .I subscriptionlist_name . librarian_machine_name |
---|
58 | .SH BUGS |
---|
59 | Mode bits as well as owner and group should probably be included in the |
---|
60 | .I currentness |
---|
61 | string for ordinary files. |
---|
62 | Also, the "40" that preceeds the other mode bits for directories is redundant with the |
---|
63 | initial type specifier. One of them should be removed. |
---|
64 | .SH "SEE ALSO" |
---|
65 | track(1), subscriptionlist(5) |
---|
66 | .br |
---|
67 | When Network File Systems Aren't Enough: Automatic File Distribution Revisited |
---|
68 | .br |
---|
69 | .ti 5 |
---|
70 | by Daniel Nachbar |
---|