Date: Sun, 22 Aug 1999 10:45:57 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Greg Lehey <grog@lemis.com> Cc: Alejandro Ramirez <ales@megared.net.mx>, Albert Everett <aeverett@webintl.com>, questions@FreeBSD.ORG Subject: Re: maximum file size Message-ID: <19990822104557.A278@marder-1> In-Reply-To: <19990822114728.G14964@freebie.lemis.com>; from Greg Lehey on Sun, Aug 22, 1999 at 11:47:29AM %2B0930 References: <37BEB44E.29ED2CD4@webintl.com> <19990821153112.E267@marder-1> <02ce01beebf5$99d2da80$d4630a0a@megared.net.mx> <19990821182544.A451@marder-1> <19990822114728.G14964@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990822104557.A278>