NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/41652: newfs ignores block and frag sizes in disklabel



The following reply was made to PR bin/41652; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/41652: newfs ignores block and frag sizes in disklabel
Date: Wed, 1 Jul 2009 05:13:05 +0000

 On Tue, Jun 30, 2009 at 11:15:06PM +0000, David Laight wrote:
  >  > newfs(8) specifies that the defaults are taken from the disklabel.
  >  > I have chosen 8K/1k block/frag sizes in the disklabel for partitions.
  >  > newfs ignores this for filesystems >1G and uses 16k/2k block/frag sizes.
  >  > newfs also fails to update the block/frag sizes in the kernel as the man
  >  > page specifes.
  >  
  >  IMHO the block/frag sizes don't belong in the disklabel ....
  >  
  >  So maybe just the documentation should be changed.
 
 I agree, but traditionally they're kept there, and since the fields
 exist we need to either honor them or be explicit about ignoring them.
 So it isn't quite that simple.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index