DragonFly BSD
DragonFly kernel List (threaded) for 2012-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Quota on tmpfs


From: Francois Tigeot <ftigeot@xxxxxxxxxxxx>
Date: Wed, 18 Jul 2012 08:53:24 +0200

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



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