This appendix describes all three formats in detail.
@enumerate 0
-@cindex format 0, snapshot file
+@cindex format 0, snapshot file
@cindex snapshot file, format 0
-@item
+@item
@samp{Format 0} snapshot file begins with a line containing a
decimal number that represents a @acronym{UNIX} timestamp of the
beginning of the last archivation. This line is followed by directory
metadata descriptions, one per line. Each description has the
-following format:
+following format:
@smallexample
@var{nfs}@var{dev} @var{inode} @var{name}
backslashes, etc.) are quoted.
@end table
-@cindex format 1, snapshot file
+@cindex format 1, snapshot file
@cindex snapshot file, format 1
-@item
+@item
@samp{Format 1} snapshot file begins with a line specifying the
format of the file. This line has the following structure:
where @var{tar-version} is the version number of @GNUTAR{}
implementation that created this snapshot, and
@var{incr-format-version} is the version number of the snapshot format
-(in this case @samp{1}).
+(in this case @samp{1}).
Next line contains two decimal numbers, representing the
time of the last backup. First number is the number of seconds, the
@var{nfs}, @var{dev}, @var{inode} and @var{name} have the same meaning
as with @samp{format 0}.
-@cindex format 2, snapshot file
+@cindex format 2, snapshot file
@cindex snapshot file, format 2
-@item
@FIXME{}
- A snapshot file begins with a format identifier, as described for
+@item
+ @samp{Format 2} snapshot file begins with a format identifier, as described for
version 1, e.g.:
@smallexample
time of the last backup. First number is the number of seconds, the
second one is the number of nanoseconds, since the beginning of the
epoch. These are followed by arbitrary number of directory records.
-
+
Each @dfn{directory record} contains a set of metadata describing a
particular directory. Parts of a directory record are delimited with
@acronym{ASCII} 0 characters. The following table describes each
@item mtime-nano @tab Number @tab Modification time, nanoseconds;
@item dev-no @tab Number @tab Device number;
@item i-no @tab Number @tab I-node number;
-@item name @tab String @tab Directory name; In contrast to the
-previous versions it is not quoted.
+@item name @tab String @tab Directory name; in contrast to the
+previous versions it is not quoted;
@item contents @tab Dumpdir @tab Contents of the directory;
@xref{Dumpdir}, for a description of its format.
-@item
+@item
@end multitable
Dumpdirs stored in snapshot files contain only records of types
@end enumerate
@c End of snapshot.texi
-
-