Are you programatically creating the filesystem yourself?
Yes.
If so, Patrick and Shantonu gave you a good start worth of info.
Yes..Patrick and Shantonu : Thanks for the tips !
But if so, why? Wouldn't it be easier just to run newfs_hfs?
Probably - but my project has to do with studying various FS-formats, implementing them 'optimally' (however fuzzy the term may be :)) and comparing them - that's why.
-Nandini