On Thu, Mar 31, 2011 at 10:12:07PM +0200, Otto Moerbeek wrote:

> > So, if I read it correctly, setting just the block size higher to say
> > 64Kb does auto tune frag size to 1/8 which is 8Kb (newfs complains
> > appropriately) but the auto tune inode length to 4 times frag which is
> > 32Kb is not implemented now? Is this the proposed formula?
> 
> There's no such thing as inode length. 
> 
> > 
> > If a user tunes -i inodes, or -f frags or -b block size, it should all
> > auto-adjust to the same outcome based on above formula in the future?
> 
> I don't see any formula.

Ah, now I understand what yoy mean by formula.

The rule is: if no -i parameter is given it's value is computed by 
4 * fragment size.

Default values for -b and -f are taken from the disklabel.
disklabel(8) in -E modes fills them in based on fs partition size. If
you specify -f or -b with newfs, these values override the values in
the label, and the label will be updated after the newfs. So the next
time you do a newfs, you'll re-use the last values for -b and -f. 

        -Otto

Reply via email to