Estimating the size of an iso based on a directory tree in python

Jesse Keating jkeating at redhat.com
Wed Nov 28 17:37:31 UTC 2007


On Wed, 28 Nov 2007 19:02:15 +0200
Andy Shevchenko <andy at smile.org.ua> wrote:

> Just add -print-size to the genisoimage call before real making image.
> 
> guess_size_in_blks = ... os.popen("genisoimage ...")

While I don't wish to resort to system calls, I guess this would work.

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20071128/bb28c40c/attachment-0002.bin 


More information about the devel mailing list