Per-User QUOTA's vs blocksize

Stacey Roberts stacey at vickiandstacey.com
Tue Mar 9 11:32:30 PST 2004


Hello Matthew,
      Thanks for the reply.

----- Original Message -----
From: "Matthew Seaman <m.seaman at infracaninophile.co.uk>"
To: To Stacey Roberts
Date: Tue, 09 Mar, 2004 14:05 GMT
Subject: Re: Per-User QUOTA's vs blocksize

> 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.

Ahh.., thanks for that.

> 
> 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 for this.

Regards,

Stacey

> 
> 	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



-- 
Stacey Roberts
B. Sc (HONS) Computer Science

Web: www.vickiandstacey.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 466 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040309/3d8c30ef/attachment.bin


More information about the freebsd-questions mailing list