tech-kern archive

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

Re: Quota definitions

On Tue Jul 21 2009 at 07:59:20 +0000, David Holland wrote:
> [quotas]

The problem I saw with quota a while ago when I was looking into it was
the quota vfsop interface definition.  Since "arg" passed to quotactl is
a void pointer and interpreted by the file system instead of a generic
layer, we cannot have a quotactl utility which does not know about the
file system for which it controls the quota... well, unless we assume
that all file systems use the same control structures as ufs.

So while it is not completely unreasonable to assume that lfs would use
the same quota control structures as ffs, genfs is the wrong place without
further work.  And if you do further work, you might as well re-define
the quota protocol and use proplib while you're at it.  Then again, it's
hard to generalize from one example and I assume that is why quotas are
they way they are.  But, "how hard can it be?".

IMHO quota is not the killer application anyone has in mind for lfs
and personally I'd not prioritize it very high.  In fact, I'd not worry
about supporting quota on lfs at all for the time being.

Home | Main Index | Thread Index | Old Index