tech-kern archive

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

Re: Quota on tmpfs



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.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index