tech-kern archive

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

Re: fs-independent quotas



On 20 October 2011 21:41, Manuel Bouyer <bouyer%antioche.eu.org@localhost> 
wrote:
>
> OK, so let's call it hierachical tablular if you want.
> You have different quota class (currenly user, group)
> for each class, there are ids (either uid or gid)
> for each id, the are quota types (block or file currently)
> these quota type have values (limits, usage, times).
> This could be represented in a mutidimentionnal array, but a table is not
> a complete representation of this.

Where is the hierarchy?

You have a table indexed by

(user|group) id (block|file)

which stores

limits, usage, time (probably grace time left or time the soft quota
was overflowed)

Each of the records is completely independent of of each other record.
There is no hierarchy whatsoever.

Thanks

Michal


Home | Main Index | Thread Index | Old Index