[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does mknmz determine if a file is updated?
On September 1, 2003 at 21:29, knok@xxxxxxxxxxxxx wrote:
(B> > How does mknmz determine if a file is updated? Looking at the source,
(B> > it appears it is based solely on mtime. Is this true?
(B> Yes, you are right.
(BDo you think adding a check for file size changes? Maybe add the
(Bability to check the MD5 sum (or SHA sum) of files. This would
(Bbe extra overhead, so it should probably be an optional option.
(BI think checking file size changes may be sufficient for most
(Bcases and is negligable overhead since the same stat call can be
(Bused to check mtime and the file size.