Quota on tmpfs

Francois Tigeot ftigeot at wolfpond.org
Tue Jul 17 23:53:24 PDT 2012


On Tue, Jul 17, 2012 at 08:29:10PM +0100, David Laight wrote:
> On Tue, Jul 17, 2012 at 01:51:17PM +0200, Francois Tigeot wrote:
> > 
> > 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).
> 
> Ignoring fs metadata is unlikely to be a problem, it is only really
> significant for sparse files (and maybe very small ones).
> 
> But you do need to use the 'sparse' size for sparse files.
> Many moons ago someone change unixware so that 'ls -s' reported a
> value based on the file size - not the number of block used.
> Really wasn't a good change at all.
> NFI if it got reverted.

I'd like to know more about this issue.
Are there public records somewhere ?

-- 
Francois Tigeot





More information about the Kernel mailing list