At 10:29 PM -0500 10/24/07, Matt Domsch wrote: >On Wed, Oct 24, 2007 at 09:03:45PM -0600, Jerry Williams wrote: >> Would it be possible to list the iso file size in bytes in the SHA1SUM file? >> >> The reason that I ask it is that I had a DVD with Fedora 7 on it and needed >> a copy of the iso file. So I did a dd on the DVD, but the file ended up >> being bigger than the original iso file. I had to know the size so I could >> enter the number of blocks to copy. >> >> It is much quicker to do an ls -l than it is to run sha1sum on a file. >> If the size is right then run the sha1sum. >> >> Or is the size listed on some web page some place? >> Everywhere I have looked I end up with an estimate. > >When reading a the file itself with isoinfo, it'll tell you: > >$ isoinfo -d -i F-7-x86_64-DVD.iso >... >Logical block size is: 2048 >Volume size is: 1683582 >... I find isosize less AWKward, as it puts out the size directly and will also do the math: $ isosize Fedora-7.92-i386-DVD.iso 3000535040 $ isosize -d 2048 Fedora-7.92-i386-DVD.iso 1465105 -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/> -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list