Per-User QUOTA's vs blocksize
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue Mar 9 06:06:03 PST 2004
On Mon, Mar 08, 2004 at 06:48:51PM +0000, Stacey Roberts wrote:
> "You may limit allocations based on disk space (block quotas)"
>
> 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040309/7970a95c/attachment.bin
More information about the freebsd-questions
mailing list