Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 02:27:38 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Ludwig Pummer <ludwigp@bigfoot.com>
Cc:        Alejandro Ramirez <ales@megared.net.mx>, Albert Everett <aeverett@webintl.com>, questions@freebsd.org
Subject:   Re: maximum file size
Message-ID:  <19990822022738.D451@marder-1>
In-Reply-To: <Pine.BSF.4.10.9908211506350.53629-100000@furball.chip-web.com>; from Ludwig Pummer on Sat, Aug 21, 1999 at 03:12:20PM -0700
References:  <19990821182544.A451@marder-1> <Pine.BSF.4.10.9908211506350.53629-100000@furball.chip-web.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ludwigp@bigfoot.com>
> 
> 

-- 
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?19990822022738.D451>