Subject: Re: CVS commit: src/sys/arch/x86/x86
To: None <source-changes@NetBSD.org>
From: Christoph Badura <bad@bsd.de>
List: source-changes
Date: 08/15/2006 21:44:54
On Mon, Aug 14, 2006 at 03:12:04PM -0700, Jason Thorpe wrote:
> On Aug 14, 2006, at 12:55 PM, Christos Zoulas wrote:
> > 1. How did you plan to deal with bsize,fsize,cpg info that used to
> >    be stored in the disklabel in the wedge world?
> 
> I don't.  Those can't be represented in most of the world's partition  
> types.  If anything depends on them, then those things need to be  
> moved into the superblock of the corresponding file system -- they are  
> FILE SYSTEM parameters, after all, and don't belong in the partition  
> map.

You realise they are where they are because you can't store them in
non-existing superblocks?  The idea is that newfs can use the values
before the first superblock is every written to the disk.

> It will use a new ioctl that will return a dictionary that has disk  
> info, including geometry.  I'm still working on that stuff (along with  
> a library that will take a "partition info" dictionary and convert it  
> into the selected on-disk format).

How do you store 64 bit values in the dictionary?

--chris