Subject: Re: Some more on MacOS X Filesystem Interoperability
To: None <port-macppc@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: port-macppc
Date: 07/20/2001 10:31:34
On Thu, Jul 19, 2001 at 10:55:30PM -0500, John Valdes wrote:
> while for OpenStep is uses flags:
> 
>   flags |= UFS_DE_44BSD | UFS_UID_44BSD | UFS_ST_44BSD | UFS_CG_44BSD;
> 
> (I take OLD here to mean 43BSD).  Quoting from the comments in an
> include file, these flags correspond to the directory entry encoding,
> uid encoding, superblock state encoding, and cylinder group encoding.

NextStep also put a bunch of extra stuff in the *middle* of the
superblock and cg blocks.  IIRC OpenStep retained these fields.  That
was a real pain..

Looking at the OS X newfs and fsck manual pages (unfortunately, on my
only OS X box I can't create an FFS to check right now) it looks like
I was wrong in my earlier message; the on-disk format seems to be derived
from 4.4BSD, and the gemoetry defaults have been changed.  I suspect that
extra stuff jammed into the superblock is all that's causing trouble.

-- 
Thor Lancelot Simon	                                      tls@rek.tjls.com
    And now he couldn't remember when this passion had flown, leaving him so
  foolish and bewildered and astray: can any man?
						   William Styron