Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 1999 15:12:20 -0700 (PDT)
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        Mark Ovens <mark@ukug.uk.freebsd.org>
Cc:        Alejandro Ramirez <ales@megared.net.mx>, Albert Everett <aeverett@webintl.com>, questions@freebsd.org
Subject:   Re: maximum file size
Message-ID:  <Pine.BSF.4.10.9908211506350.53629-100000@furball.chip-web.com>
In-Reply-To: <19990821182544.A451@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ludwigp@bigfoot.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?Pine.BSF.4.10.9908211506350.53629-100000>