From owner-freebsd-questions Sat Aug 21 18:37:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand2.global.net.uk (sand2.global.net.uk [195.147.246.100]) by hub.freebsd.org (Postfix) with ESMTP id 7065E152EE for ; Sat, 21 Aug 1999 18:37:23 -0700 (PDT) (envelope-from mark@globalnet.co.uk) Received: from pf1s11a06.client.global.net.uk ([195.147.219.242] helo=marder-1.) by sand2.global.net.uk with esmtp (Exim 2.05 #1) id 11IMWi-0000Ae-00; Sun, 22 Aug 1999 02:34:29 +0100 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id CAA26414; Sun, 22 Aug 1999 02:27:39 +0100 (BST) (envelope-from mark) Date: Sun, 22 Aug 1999 02:27:38 +0100 From: Mark Ovens To: Ludwig Pummer Cc: Alejandro Ramirez , Albert Everett , questions@freebsd.org Subject: Re: maximum file size Message-ID: <19990822022738.D451@marder-1> References: <19990821182544.A451@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Ludwig Pummer on Sat, Aug 21, 1999 at 03:12:20PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Aug 21, 1999 at 03:12:20PM -0700, Ludwig Pummer wrote: > 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? > Who said anything about multi-GB files on /. I just said that doing dumpfs(8) on / was difficult. > 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*) > ^^^^ Interesting. When I run disklabel (from ``boot -s'') it returns 0 in the fsize, bsize,bps/cpg columns (3.1-R), on all umounted fs. > > --Ludwig Pummer > > -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message