X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=doc%2Ftar.texi;h=9bb5a833c8c4c0d09d6f8012c13c44ab52dfc1d4;hp=2be123ac9751a22f12111d33772b6814edc0819c;hb=29a6964af3e1baabe978ce608e0466e1250d08ab;hpb=62497f0e26bb504bd8e51c36ab4ce89643538e36 diff --git a/doc/tar.texi b/doc/tar.texi index 2be123a..9bb5a83 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -3319,6 +3319,27 @@ The @option{--warning=existing-file} option can be used together with this option to produce warning messages about existing old files (@pxref{warnings}). +@opsummary{sort} +@item --sort=@var{order} +Specify the directory sorting order when reading directories. +@var{Order} may be one of the following: + +@table @samp +@item none +No directory sorting is performed. This is the default. + +@item name +Sort the directory entries on name. The operating system may deliver +directory entries in a more or less random order, and sorting them +makes archive creation reproducible. + +@item inode +Sort the directory entries on inode number. Sorting directories on +inode number may reduce the amount of disk seek operations when +creating an archive for some file systems. + +@end table + @opsummary{sparse} @item --sparse @itemx -S