In message <[EMAIL PROTECTED]>, Luigi Rizzo writes:
>> What about having the first few tracks, ie. the boot area, 18 sectors,
>> and the rest of the disk 21 sectors, and have the boot code/kernel do
>> the right thing?  Isn't this easier?
>
>It has all sorts of problems: neither the bios nor the disklabel
>nor the kernel can handle variable length tracks, plus the bootloader
>(boot2 and /boot/loader) still uses the bios, so the whole area
>containing the kernel would need to be 18 sectors, and the kernel
>on picobsd is almost as large as the whole disk...

It would be possible to teach the floppy driver that cyl 0-9 has
18 sectors while cyl10-81 has 21.

A small matter of hacking...

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to