NetBSD-Bugs archive

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

Re: bin/41439: [dM] undocumented newfs failure

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

From: der Mouse <mouse%Rodents-Montreal.ORG@localhost>
Subject: Re: bin/41439: [dM] undocumented newfs failure
Date: Sat, 16 May 2009 07:46:10 -0400 (EDT)

 > IIRC There is another option to specify a number of inodes - which
 > might work.
 Well spotted.  Might I suggest a cross-reference to it from -i?  (This
 patch is untested.)
 --- newfs.8=    2009-05-16 07:47:09.000000000 -0400
 +++ newfs.8     2009-05-16 07:47:52.000000000 -0400
 @@ -186,6 +186,10 @@
  .It \*[Gt]= 1024 MB
  8 KB
 +.Fl n
 +for another way to control this.
  .It Fl m Ar free-space
  The percentage of space reserved from normal users; the minimum free
  space threshold.
 And, yes, -n works - or, at least, it doesn't fail; it uses only one
 block of inodes per cg, but way more cgs than I'd like:
 # newfs -b 65536 -f 8192 -n 15000 /dev/rwd2e
 /dev/rwd2e: 476934.8MB (976762544 sectors) block size 65536, fragment size 8192
         using 117 cylinder groups of 4076.38MB, 65222 blks, 512 inodes.
 This means 59904 inodes where I'd rather have more like, well, 15000.
 (I really wish newfs hadn't lost -c.)  Annoying but hardly fatal.
 /~\ The ASCII                            Mouse
 \ / Ribbon Campaign
  X  Against HTML     
 / \ Email!          7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index