From: Sven L. <sve...@wa...> - 2003-08-29 12:54:39
|
On Fri, Aug 29, 2003 at 02:42:12PM +0200, Roman Zippel wrote: > Hi, > > On Fri, 29 Aug 2003, Sven Luther wrote: > > > Do someone know if it is possible to autodetect the block size as well > > as the prealloc and reserved values ? > > 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. I guess you could make some guess for the other values by testing various values when searching for the rdb. > > Then i will had formatting support for affs and asfs, and it would be > > possible to create a new bootable system from linux without ever going > > to amigaos/morphos. > > BTW I have some basic affs tools at > linux-apus.sf.net/test/affstools-0.1.tar.gz > It's at least enough to create an affs file system, I played a bit with > 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 ? > > Now, what is the situation of the boot loader on amiga/m68k and > > amiga/apus ? Do you have a lilo-like thingy, or still the ami/apusboot > > program we used back then ? If the later is the case, it should be > > possible to cross compile it, and then to make a debian package with it, > > installing it in the affs formatted /boot partition or a affs > > /boot/amiboot or something such. > > Lilo can be be cross compiled, for a complete compile you need a > m68k-linux cross compiler, but I included precompiled sources. It works > fine for linux-ppc. As Geert mentioned it still needs a small patch for > the kernel. Ok. Friendly, Sven Luther |