Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 07:43:27 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Administrative tag a possibility?
Message-ID:  <3B03C76F.4403BC31@math.missouri.edu>
References:  <00df01c0dec9$ef270b00$0b01000a@apollo>

next in thread | previous in thread | raw e-mail | index | archive | help
Stewart Morgan wrote:
> 
>         Wasn't there a discussion on something like this ages ago?
> I seem to recall somebody suggesting MD5 checksums to see if a file
> has changed or not and acting acordingly.
> 
>         If you're worried about maintaining a database of checksums,
> why not place it in the file itself.  Of course somebody'll mention
> recursion: if you grep -v CHECKSUM | md5 and compare with grep CHECKSUM,
> you've got something that works and is easy to maintain.
> 

That seems a little dangerous - perhaps some of the files will have
md5 appearing in other lines for other reasons, and that would mess
up this simple grep.  Perhaps a more complicated tag in the file would
be more appropriate.

-- 
Stephen Montgomery-Smith
stephen@math.missouri.edu
http://www.math.missouri.edu/~stephen

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B03C76F.4403BC31>