Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 11:47:29 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        Alejandro Ramirez <ales@megared.net.mx>, Albert Everett <aeverett@webintl.com>, questions@FreeBSD.ORG
Subject:   Re: maximum file size
Message-ID:  <19990822114728.G14964@freebie.lemis.com>
In-Reply-To: <19990821182544.A451@marder-1>; from Mark Ovens on Sat, Aug 21, 1999 at 06:25:45PM %2B0100
References:  <37BEB44E.29ED2CD4@webintl.com> <19990821153112.E267@marder-1> <02ce01beebf5$99d2da80$d4630a0a@megared.net.mx> <19990821182544.A451@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
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)

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


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?19990822114728.G14964>