Re: ISO file size in bytes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 24, 2007 at 11:44:08PM -0400, Jon Masters wrote:
> 
> 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.

Go to bed Jon, you didn't read far enough. :-)  You would have seen
the appended script do:

BLOCKS=`isoinfo -d -i ${DEVICE} | grep "Volume size" | awk '{print $4}'`
dd if=${DEVICE} of=${FILENAME} bs=2k count=${BLOCKS}

where DEVICE=/dev/cdrom  or whatever device had the media.


-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux