Fedora Core 5 common issues and bugs

Tom Brinkman tbrinkman at sbcglobal.net
Thu Mar 30 21:13:45 UTC 2006


On Wednesday 29 March 2006 14:26, Peter Jones wrote:
> On Wed, 2006-03-29 at 19:51 +0200, Rob van Nieuwkerk wrote:
> > Sure.  Or something like this:
> >
> > 	dd conv=idirect if=/dev/cdrom count=right_number | sha1sum
> >
> > And if the dd used on the FC ISO does not support the O_DIRECT
> > feature, just add it.  Or write a completely trivial 10 line C
> > program that does the same.
>
> This will almost always get you the wrong result.  At the very
> least, you need 'bs=2048 count="$(($(isosize /dev/cdrom) / 2048))"'
> with that, or you wind up doing md5sum on completely bogus data
> with some media.

   sha1sum /dev/hdc    works every time here.... if the CD was burned 
with -dao

-- 
	Tom Brinkman		      Corpus Christi, Texas




More information about the fedora-devel-list mailing list