From owner-freebsd-questions Sat Aug 21 15:14:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id 9496815474 for ; Sat, 21 Aug 1999 15:14:05 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Received: (qmail 3477 invoked from network); 21 Aug 1999 22:12:37 -0000 Received: from furball.chip-web.com (172.16.1.29) by inet.chip-web.com with SMTP; 21 Aug 1999 22:12:37 -0000 Date: Sat, 21 Aug 1999 15:12:20 -0700 (PDT) From: Ludwig Pummer X-Sender: ludwigp@furball.chip-web.com To: Mark Ovens Cc: Alejandro Ramirez , Albert Everett , questions@freebsd.org Subject: Re: maximum file size In-Reply-To: <19990821182544.A451@marder-1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 21 Aug 1999, Mark Ovens wrote: > On Sat, Aug 21, 1999 at 11:52:48AM -0500, Alejandro Ramirez wrote: > > Hi, > > > > How can I know the size of the blocks I'm using in my system??? (FreeBSD > > 3.2 Release) > > > > The default block-size is 8kB, so if you let sysinstall newfs your > disks then that's what it'll be. > > dumpfs(8) is the only way that I know (but there are probably > several other ways) of finding the block-size of an existing fs. > The disk must be umounted for dumpfs to work which makes checking > the root fs a bit difficult :-) How many people are going to stick multi-gigabyte files on the root fs? But this is how you can check: > disklabel wd0 # /dev/rwd0c: type: ESDI ... drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 81920 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 5*) b: 666016 81920 swap # (Cyl. 5*- 49*) c: 12050640 0 unused 0 0 # (Cyl. 0 - 796) e: 40960 747936 4.2BSD 1024 8192 16 # (Cyl. 49*- 52*) f: 11261744 788896 4.2BSD 1024 8192 16 # (Cyl. 52*- 796*) ^^^^ --Ludwig Pummer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message