Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2005 14:39:02 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        Glenn Dawson <glenn@antimatter.net>
Cc:        freebsd-questions@freebsd.org, "J.D. Bronson" <jbronson@wixb.com>
Subject:   Re: bsdlabel question..
Message-ID:  <t0pst07z49.st0@mail.opusnet.com>
In-Reply-To: <6.1.0.6.2.20050730100508.13b4b060@cobalt.antimatter.net> (Glenn Dawson's message of "Sat, 30 Jul 2005 10:08:07 -0700")
References:  <6.2.5.1.2.20050730073623.00c12950@wixb.com> <6.1.0.6.2.20050730100508.13b4b060@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Glenn Dawson <glenn@antimatter.net> writes:

>                  pp->p_fstype = FS_BSDFFS;
>                  pp->p_fsize = sblock.fs_fsize;
>                  pp->p_frag = sblock.fs_frag;
>                  pp->p_cpg = sblock.fs_fpg;
>          }
> The last line is the one that inserts that number.  sblock.fs_fpg is the number of frags per cylinder grounp.

Glenn, can you tell me which of those numbers, if any, can be changed
after a newfs has been done and the file system well occupied with
data?

(The lousy sysinstall disk labeler wiped out several of my disk labels
and I restored them with zeroes in those fields of the disk label.  It
worked OK, but I'm guessing it only worked because the "bsdlabel"
defaults were the same as they were when I first did "bsdlabel...;
newfs...".  If defaults had changed or I used non-default values the
first time, I'd have been SOL, right?  Or do those values just serve
as optimization/tuning values for the kernel?)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t0pst07z49.st0>