Re: [RFC PATCH] tmpfs: support user quotas

From: Alan Cox
Date: Mon Nov 07 2011 - 18:43:08 EST


On Tue, 8 Nov 2011 00:07:12 +0100
Lennart Poettering <mzxreary@xxxxxxxxxxx> wrote:

> On Mon, 07.11.11 22:53, Alan Cox (alan@xxxxxxxxxxxxxxxxxxx) wrote:
>
> > Per user would be quota, per process would be rlimit. Quite simple
> > really, nice standard interfaces we've had for years. Various systems
>
> Uh, have you ever really looked at resource limits? Some of them are
> per-user, not per-process, i.e. RLIMIT_NPROC. And this would just be
> another one.

NPROC is a bit of an oddity.

And the standards have no idea how a resource limit hit for an fs would
be reported, nor how an app installer would check for it. Quota on the
other hand is defined behaviour.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/