From: Roman Z. <zi...@li...> - 2003-08-29 14:44:13
|
Hi, On Fri, 29 Aug 2003, Sven Luther wrote: > > The block size can be guessed by verifying the checksum of the root block > > (e.g. affs does that), but the other values are only in the RDB. > > Seems a nice trick. But it would be a problem if the blocks after the > one are written only by 0s. Not if you start with the smallest blocksize, as there is always data relativ to the end of the block. > I guess you could make some guess for the other > values by testing various values when searching for the rdb. Not really, to find the root block you already need the reserved value (the implementations currently cheat here a bit and assume a small reserved value, preferably 2). > > larger block sizes, but that wasn't successfull, maybe my amiga os version > > doesn't support that. > > Ok, thanks, i will have a look. It is GPLed code, right, and there is no > problem with myself inspiring me from it for writing parted code ? Yes and no, take whatever you need. :) bye, Roman |