Subject: Re: Mkfs_1.46
To: Bob Nestor <rnestor@augustmail.com>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-mac68k
Date: 10/11/1999 16:56:33
On Sun, 10 Oct 1999, Bob Nestor wrote:

> Tommy Smith  (thsmith@online.no) wrote:
> 
> >
> Mkfs formats the three NetBSD partions, but only _half_ the size it 
> >should be.  I changed the Sector Size from 256 to 512, and the partions 
> >was then formatted to the right size as mentioned above :-)

Right, because they really are 512-byte sectors. :-)

> It used to be a hard rule that NetBSD only supported sector sizes of 512 
> bytes.  Unless something has changed I wouldn't expect the system to work 
> properly if this was changed in Mkfs.  As I recall it just queries the 
> drive and presents the user with what the drive reported, but as you 
> found out it does let the user change the value.

The problem is that if you tell mkfs an incorrect sector size, it'll make
an incorrect filesystem. :-) Even after the changes we're working on to
support different block sized devices in the kernel at once. :-)

Take care,

Bill