Re: file size exceeded
Denis Corbin <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Geisler wrote: | Yesterday, I tried to backup my system and didn't set the slice size. | When the .dar file got to 2G on my reiserfs, it died with a file size | exceeded error. Since dar can recognize this error, shouldn't it just | start a new slice and try to continue from where it left off? | | -- Jonathan Geisler -- Hello, Well, as the first slice may be of a different size, and as the last size is often smaller than the intermediate ones, the way used by dar to know the size of intermediate slices is to store this value in the first slice's header. Reading the first size, dar gets the first slice size, and the size of the following slices (it assums that the last slice may be smaller) as well as many important stuf like compression algorithm used, scrambling if any, etc. The problem is that it is not possible to know in advance whether the system does support large files or not, thus at the time the error occurs it is too late to change the slice size definition, in particular the first slice may already be burned on a CD. In fact even if the error occures when writing the first slice, it is not possible to change the field where is stored the slice of intermediate slices, because it is a variable length field, which must be able to handle sizes from 30 bytes to arbitrary large numbers. If you have any idea or solution, feel free to propose it ;-) Cheers, Denis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFADj89pC5CI8gYGlIRArUfAJ9O61Tgv0SPUudYczFN138xk8qbrgCfQN+w Y3yh0c1N3dclGnV+v2IuxE4= =9OsH -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn