On 09/05/05 17:40, Ira Abramov wrote:
> [EMAIL PROTECTED] ~]$ tar zcf - directory |md5sum
> 484497aa0d7e1bb391a73cc8b42acce2  -
> [EMAIL PROTECTED] ~]$ tar zcf - directory |md5sum
> 552bbc02b0b2b5b142a425d476f0d5c0  -
> [EMAIL PROTECTED] ~]$ tar zcf - directory |md5sum
> 792afdaf2be839dfccc1c91dfd4f726b  -
> 
> what the fsck is going on?! is gzip adding some odd time stamp or
> something?!

Yes. The gzip format has a mandatory MTIME field. "If the compressed
data did not come from a file, MTIME is set to the time at which
compression started. MTIME = 0 means no time stamp is available."
(RFC 1952, http://www.gzip.org/zlib/rfc-gzip.html)

BTW, it has a 1 second resolution, so if you're fast enough you will get
the same output.

  Eran





=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to