From owner-freebsd-questions Wed Jun 9 0:42:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id 324F614E61 for ; Wed, 9 Jun 1999 00:42:33 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Wed, 9 Jun 1999 09:45:29 +0200 Message-ID: <55586E7391ACD211B9730000C110027617964B@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: 'Unknow User' , Dan Nelson Cc: questions@FreeBSD.ORG Subject: RE: block size, simple question! Date: Wed, 9 Jun 1999 09:40:05 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Unknow User [SMTP:kernel@tdnet.com.br] > Sent: Wednesday, June 09, 1999 5:34 AM > To: Dan Nelson > Cc: questions@FreeBSD.ORG > Subject: Re: block size, simple question! > > Dan Nelson wrote: > > > > The default is 8K blocks, with 1K frags. News spools usually are > > formatted at 4K/512b; I have a couple of 60GB archive volumes at > > 16K/2K. Usually fragsize is blocksize/8. > > > > > Why FreeBSD does not allow me to set my FreeBSD slices 512 bytes > blocks > long ? > I set my NewFS options to -b 512 -f 1024 and it returned with a status > 1. [ML] a fragment (a partial block) cannot be larger than a block :) > Is that possible to have this size (512 bytes) ? [ML] File fragmentation would be horrendous (DOS-FAT fragmentation sense). If you are concerned by the space wastage on partially filled blocks, FFS uses a number of full blocks plus a number of block fragments at the end of the file. Thus you get lower file fragmentation (blocks are big and contiguous) and don't waste space at the end of the file because more than one file tails can reside in one in block fragments split block. What you seem to want is -b 2048 -f 512. /Marino > Thanks a lot! > > -- > "The box said 'Requires Windows 98, NT, Linux or better' so I > installed FreeBSD." > > > 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