Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 1998 11:01:42 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        dwmalone@maths.tcd.ie, freebsd-bugs@hub.freebsd.org
Subject:   Re: bin/6124: Getting md5 to reset access times.
Message-ID:  <199803270001.LAA22745@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
> > >	If you are using md5 to checksum a load of files you probably
> > >	don't want all the access times changed. This is a small patch
> > >	which adds a "-r" flag which resets the access times to what
> > >	they were before the file was checksumed.
> > 
> > I disagree with this change, it doesn't belong in the md5 program.
> 
> Fair enough.
> 
> > cksum(1) and sum(1) doesn't have it either.
> > 
> > mtree(8) and tripwire may need this kind of stuff, but not md5(1).
> 
> Would you be interested in a similar addition to mtree?

No, it corrupts the more important inode change times.  Mount read-only
to avoid corruption of both the access time and the inode change times,
not to mention the data.

Bruce

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803270001.LAA22745>