From owner-freebsd-questions Sun Aug 22 2:55:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand4.global.net.uk (sand4.global.net.uk [194.126.80.248]) by hub.freebsd.org (Postfix) with ESMTP id BC2E914DCE for ; Sun, 22 Aug 1999 02:55:07 -0700 (PDT) (envelope-from mark@globalnet.co.uk) Received: from pfcs12a06.client.global.net.uk ([195.147.220.253] helo=marder-1.) by sand4.global.net.uk with esmtp (Exim 2.12 #1) id 11IUJC-0003d2-00; Sun, 22 Aug 1999 10:53:03 +0100 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id KAA00340; Sun, 22 Aug 1999 10:45:58 +0100 (BST) (envelope-from mark) Date: Sun, 22 Aug 1999 10:45:57 +0100 From: Mark Ovens To: Greg Lehey Cc: Alejandro Ramirez , Albert Everett , questions@FreeBSD.ORG Subject: Re: maximum file size Message-ID: <19990822104557.A278@marder-1> References: <37BEB44E.29ED2CD4@webintl.com> <19990821153112.E267@marder-1> <02ce01beebf5$99d2da80$d4630a0a@megared.net.mx> <19990821182544.A451@marder-1> <19990822114728.G14964@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990822114728.G14964@freebie.lemis.com>; from Greg Lehey on Sun, Aug 22, 1999 at 11:47:29AM +0930 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Aug 22, 1999 at 11:47:29AM +0930, Greg Lehey wrote: > On Saturday, 21 August 1999 at 18:25:45 +0100, 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 :-) > > You can run dumpfs against the raw device: > > # dumpfs / > dumpfs: /dev/wd0s1a: Device busy > # dumpfs /dev/rwd0s1a > magic 11954 time Sun Aug 22 11:33:14 1999 > id [ 0 0 ] > cylgrp dynamic inodes 4.4BSD > nbfree 427 ndir 131 nifree 2197 nffree 166 > (etc) > Ah, right. Thanks Greg. Could you tell me why disklabel(8) (3.1-R) returns 0 for fsize, bsize, bps/cpg and also gets the rpm wrong?. Here's the output. The disk in question is an IBM Ultrastar 9ES which is a 7200rpm device, but disklabel(8) reports 3600: # /dev/rda1c: type: SCSI disk: da1s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 554 sectors/unit: 8916012 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 8916012 0 unused 0 0 # (Cyl. 0 - 554*) e: 8916012 0 4.2BSD 0 0 0 # (Cyl. 0 - 554*) > Greg > -- > When replying to this message, please copy the original recipients. > For more information, see http://www.lemis.com/questions.html > See complete headers for address, home page and phone numbers > finger grog@lemis.com for PGP public key > -- 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