Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 14:05:54 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Stacey Roberts <stacey@vickiandstacey.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Per-User QUOTA's vs blocksize
Message-ID:  <20040309140554.GA16123@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040308184851.GF337@crom.vickiandstacey.com>
References:  <20040308184851.GF337@crom.vickiandstacey.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 08, 2004 at 06:48:51PM +0000, Stacey Roberts wrote:

> "You may limit allocations based on disk space (block quotas)"
>=20
> What exactly is the size of a block?

As the quota system uses the term, a block is 512b -- this unit is
also called a sector in some situations, but it's basically the same
thing.  It reflects the size of the underlying sector structures
within the filesystem.

Most applications that deal in file sizes can deal in units of blocks,
(eg. the -s argument to newfs(8) takes an argument in units of sectors
or blocks, although just to be confusing, newfs(8) also uses
'block-size' with a different meaning) and in some of the older ones
blocks are the default measure.  However, more commonly used
applications (like df(1)) or more recently written ones either default
to reporting in more familiar units -- b, kb, Mb -- or have mechanisms
for changing to those units.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFATc9CdtESqEQa7a0RAtFaAJwKnEhjNrg+FKM75RmkQZyzbXkoywCfZX3/
U/Nq7vf0BiUKFhiSi/6NEVU=
=9s4C
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309140554.GA16123>