tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Quota on tmpfs



On Tue, Jul 17, 2012 at 08:50:59PM +0000, Michael van Elst wrote:
> ftigeot%wolfpond.org@localhost (Francois Tigeot) writes:
> 
> >Having a quota system based on visible file sizes gives at least consistent
> >results with what a regular user sees when listing files or using du(1).
> 
> That's not true. du(1) reports disk usage (from stat.st_blocks) and not
> accumulated file sizes (from stat.st_size). ls(1) can report both.

My mistake. Sorry about that.

-- 
Francois Tigeot


Home | Main Index | Thread Index | Old Index