Subject: Re: Supporting sector size != DEV_BSIZE
To: Bill Studenmund <wrstuden@netbsd.org>
From: Trevin Beattie <trevin@xmission.com>
List: tech-kern
Date: 06/04/2002 15:04:08
At 09:49 AM 6/4/2002 -0700, Bill Studenmund wrote:
>Did you try compiling a NetBSD kernel (and userland) with DEV_BSIZE set to
>2048?
>
>That's the supported way of handling 2k-sector disks. And unless we broke
>it, it works (and has worked for YEARS).

I do'ed it just now.  When I booted it, after the rest of the configuration
messages, here's what I got:

boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ffs...
no file system for wd0 (dev 0x0)
cannot mount root, error = 79
root device (default wd0a): _

kewl!

-----------------------
Trevin Beattie          "Do not meddle in the affairs of wizards,
trevin@xmission.com     for you are crunchy and good with ketchup."
      {:->                                     --unknown