On Fri, Jun 11, 2004 at 01:20:21PM -0500, Mike Burger wrote: > My understanding is that quotas are on a filesystem basis...you'd have to > have some sort of logic built into the code that basically did the > equivalent of "du" on the directory, to get the current disk usage. Thinking out of the box and not trying it...what if you did a bind mount (or whatever it's called) that makes it look like a separate mount point? Could you put a quota file on that and have it work? .../Ed > > On Fri, 11 Jun 2004, Ed Kim wrote: > > > Hey all, > > I have a system with redhat 9 and quotas set up; however, I would like to > > limit the amount of space that the root user has to write to a certain > > directory without making the directory a seperate partition. > > Basically, I have a c++ program which needs to be run under root, and which > > stores data to a certain directory. The program stores until the directory > > runs out of space ( previously it was linked to a seperate partition) so > > this works ok. But we would like to keep this directory now on the same > > partition so that when it issues a 'mv' command, it won't have to do so much > > disk io... ( these are large files -> 3+gb). > > > > I've attempted to setup a user with a quota, but when the program is > > executed as root, it ignores the user quota. I've attempted to create a > > user with UID = 0 and setup quotas for this user, but it changes root quota > > as well. > > > > Any suggestions would be greatly appreciated. > > > > Thanks in advance. > > > > Ed > > -- > Mike Burger > http://www.bubbanfriends.org -- Ed Wilts, RHCE Mounds View, MN, USA mailto:ewilts@xxxxxxxxxx Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list