From owner-freebsd-stable Thu May 17 5:43:33 2001 Delivered-To: freebsd-stable@freebsd.org Received: from femail12.sdc1.sfba.home.com (femail12.sdc1.sfba.home.com [24.0.95.108]) by hub.freebsd.org (Postfix) with ESMTP id C099A37B422 for ; Thu, 17 May 2001 05:43:28 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu ([24.12.197.197]) by femail12.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010517124327.GFZF24113.femail12.sdc1.sfba.home.com@math.missouri.edu> for ; Thu, 17 May 2001 05:43:27 -0700 Message-ID: <3B03C76F.4403BC31@math.missouri.edu> Date: Thu, 17 May 2001 07:43:27 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: Re: Administrative tag a possibility? References: <00df01c0dec9$ef270b00$0b01000a@apollo> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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