From owner-freebsd-questions Mon Apr 2 0:32:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-1242.charter-stl.com [24.217.116.226]) by hub.freebsd.org (Postfix) with ESMTP id AAA2A37B71F for ; Mon, 2 Apr 2001 00:32:29 -0700 (PDT) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id A3D32A91A; Mon, 2 Apr 2001 02:31:51 -0500 (CDT) Date: Mon, 2 Apr 2001 02:31:51 -0500 From: Andrew Hesford To: FreeBSD-questions Subject: disklabel and block size Message-ID: <20010402023151.A817@cec.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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