From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Fierbaugh Subject: Re: Quota for root ? Date: Tue, 7 Mar 2006 14:16:26 -0500 Message-ID: <200603071416.26513.david@fierbaugh.org> References: <83CA05F64804AF43B8F733C4ABDFAA51010DEAF2@mail1.bitband.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <83CA05F64804AF43B8F733C4ABDFAA51010DEAF2@mail1.bitband.com> Content-Disposition: inline Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Sion Khalaf , linux-admin@vger.kernel.org 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