X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=doc%2Ftar.texi;fp=doc%2Ftar.texi;h=119ae168ed98f352103955fbe0097168352de172;hp=0adcfc0643f5ad1cd7cd613cb32e1e0f2005ce8c;hb=e7b6f8e3aecf2699ecd1e18f905e14a2841c5e00;hpb=586a6263e9d97494139b4285c81ee5907c9d7252 diff --git a/doc/tar.texi b/doc/tar.texi index 0adcfc0..119ae16 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -9930,7 +9930,8 @@ will use the following default value: This keyword defines the value of the @samp{mtime} field that is written into the ustar header blocks for the extended headers. By default, the @samp{mtime} field is set to the modification time -of the archive member described by that extended headers. +of the archive member described by that extended header (or to the +value of the @option{--mtime} option, if supplied). @item globexthdr.name=@var{string} This keyword allows user control over the name that is written into @@ -10023,6 +10024,22 @@ same contents: --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0 @end smallexample +@noindent +If you extract files from such an archive and recreate the archive +from them, you will also need to eliminate changes due to ctime, as +shown in examples below: + +@smallexample +--pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0 +@end smallexample + +@noindent +or + +@smallexample +--pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,delete=ctime +@end smallexample + @node Checksumming @subsection Checksumming Problems