Web Hosting Talk







View Full Version : Size limit


mithilesh
02-26-2002, 08:00 PM
By Which command I can limit the size of a directory/user on a linux machine having Redhat6.2.

Thank you

RutRow
02-26-2002, 10:04 PM
This may help.

http://www.linuxdoc.org/HOWTO/mini/Quota.html

priyadi
02-27-2002, 10:06 AM
Originally posted by mithilesh
By Which command I can limit the size of a directory/user on a linux machine having Redhat6.2.


You can't do that, at least not in stock kernel. All you could do is limiting the amount or total size of all files owned by a particular user or group throughout a filesystem. It's called quota system.

There IS a 'directory quota' patch around somewhere. It limits the amount or total size or files inside a directory even if the files belong to various different users/groups.