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

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



Hi Jesse Keating!

 On Wed, Nov 28, 2007 at 11:41:15AM -0500, Jesse Keating wrote next:

> Does anybody know of examples on how to do this?  This is for pungi, so
> that you can just provide the desired iso size and it will make as many
> necessary to hold your tree.

Just add -print-size to the genisoimage call before real making image.

guess_size_in_blks = ... os.popen("genisoimage ...")

-- 
With best regards,
Andy Shevchenko.      mailto: andy smile org ua



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