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

Re: Calculating size of iso image



>From: scdbackup@gmx.net


>>  have struck problems in calculating the space required.

>Who doesn't ?

>Currently i am undecided wether it is better to use 
> mkisofs -print-size
>or the size obtained by function stat() plus 1400 bytes.
>(This number was found by try and error when i had to replace
>du -sk  as size measurer for afio.)

>Regrettably the size of an mksiofs output tree is not the sum
>of the sizes of its subtrees. Usually it is smaller but i had
>occasions when the backup became slightly larger than planned.

The correct method is to use mkisofs -print-size everything else is
reading from the coffee grounds......

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily



Reply to: