linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Fierbaugh <david@fierbaugh.org>
To: Sion Khalaf <Sion@bitband.com>, linux-admin@vger.kernel.org
Subject: Re: Quota for root ?
Date: Tue, 7 Mar 2006 14:16:26 -0500	[thread overview]
Message-ID: <200603071416.26513.david@fierbaugh.org> (raw)
In-Reply-To: <83CA05F64804AF43B8F733C4ABDFAA51010DEAF2@mail1.bitband.com>

That seems like a bad idea, even if it is possible.

I'd suggest having it direct it's output to another process running as a 
different user. Then you can use quota for that user. And if it did fill up 
the device, you'd still have root's reserved % to keep the system at least 
partially functional.

Or, create a file of a set size, and mount that as a drive, then record the 
data to that file, then you have an exact limit on the amount of data 
recorded.

I'm sure there are quite a few other creative solutions, those are just the 
two that popped into my mind as quick fixes.

On Tuesday 07 March 2006 14:00, you wrote:
> Hi,
>
> Is it possible to create quota for root?
> I have process that runs with root, which I want to limit its writing,
> so it will not fill the whole File System.
>
> Can it be done with quota ?
>
> Thanks in advanced,
> Sion
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2006-03-07 19:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-07 19:00 Quota for root ? Sion Khalaf
2006-03-07 19:16 ` David Fierbaugh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-08  0:03 Sion Khalaf
2006-03-08  1:53 ` Glynn Clements
2006-03-08  6:12 Sion Khalaf
2006-03-08 12:36 ` hackmiester (Hunter Fuller)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200603071416.26513.david@fierbaugh.org \
    --to=david@fierbaugh.org \
    --cc=Sion@bitband.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).