Re: howto verify burn?
On Fri, Mar 07, 2003 at 02:55:34PM -0500, Narins, Josh wrote:
>
> > From: bob parker, Sent: Friday, March 07, 2003 11:10 AM
> > On Fri, 7 Mar 2003 03:16, Brad wrote:
> > > See this post for more detail on this subject:
> > >
> > http://lists.debian.org/debian-devel/2002/debian-devel-200211/
> > msg03076.html
> > >
> > > -Brad
> > >
> > Checked it out. From the posts it is still inconclusive.
> > So far as jigdo is concerned I have the isos and the md5sums
> > all match the
> > source. This is about verifying the burnt cdr.
> >
> > So far, the only reliable technique I have been able to find
> > is to do it file
> > by file.
> >
> > That is easy if you have no subdirectories on the cdr, but
> > gets a little
> > messy if you do, the files have to be piped to md5sum from
> > find and xargs.
> >
> > Example:
> > find /cdrom1/ -type f -print | xargs md5sum | cut -d ' ' -f 1
> > | sort > sumscdr
> >
> > mount whatever.iso -r -t iso9660 -o loop /mnt
> >
> > ind /mnt/ -type f -print | xargs md5sum | cut -d ' ' -f 1 |
> > sort > sumsiso
> >
> > diff sumsiso sumscdr
> >
> > Not sure if the sort step is really needed.
That is over kill. Why make life complicated :-) Check my post.
> I'm confused, Bob.
>
> If you copy the ISO from the CD-R to your hard drive, and do an md5sum on
> it, and it matches the original ISO's md5sum, you just can't have two files
> that are different, unless they are different in miraculously md5sum
> balancing ways.
http://lists.debian.org/debian-user/2003/debian-user-200303/msg00777.html
There are junk sectors added when creating data on CD. Just skip them
by knowing exact number. It is all written in:
http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s9.3.7
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <osamu@debian.org> Cupertino CA USA, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://qref.sf.net and http://people.debian.org/~osamu
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
Reply to: