ISO file size in bytes?

Jon Masters jcm at redhat.com
Thu Oct 25 03:44:08 UTC 2007


On Wed, 2007-10-24 at 22:29 -0500, 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
> ...

Right, but I think what he's saying is that he *didn't* have the ISO
file to hand - but did have a DVD he could dd from - and he wanted a way
to find out how big the image should have been without downloading it.

Jon.





More information about the fedora-devel-list mailing list