Date: Mon, 2 Apr 2001 07:47:12 -0400 (EDT) From: Dru <genisis@istar.ca> To: Andrew Hesford <ajh3@chmod.ath.cx> Cc: FreeBSD-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: disklabel and block size Message-ID: <Pine.BSF.4.21.0104020744030.14163-100000@istar.ca> In-Reply-To: <20010402023151.A817@cec.wustl.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Andrew, You might find the following article helpful: http://www.oreillynet.com/pub/a/bsd/2001/02/28/FreeBSD_Basics.html This was the 2nd article in a 3-part series, so you might want to scan the other 2 as well. Cheers, Dru On Mon, 2 Apr 2001, Andrew Hesford wrote: > I have two related questions: > > 1. In the disklabel output, what is the significance of the bps/cpg > group? The man page for disklabel says that for disks larger than 1G, it > defaults to 64, but mine is 16, and an example in the man page had it > set at 75. What does this field mean, and how will different values > affect the disk? > > 2. All my filesystems have block sizes of 8k and fragment sizes of 1k. > What does this mean? For ext2 and fat, a block is the smallest > allocatable disk segment, meaning that I can store at most 1 file in > each 8k block. However, the fragment suggests that the smallest > allocatable segment is 1k, with block having a different meaning. Can I > store up to 8 files in each 8k data segment, or only 1 file? > Furthermore, if the fragment is the smallest allocatable group (in the > sense of an ext2 block), what is the significance of an FFS block? Is it > the amount of space that is reserved for file writing in order to prevent > fragmentation of data? > -- > Andrew Hesford > ajh3@chmod.ath.cx > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104020744030.14163-100000>