LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   help: to limit a folder`s size without using quotas (https://www.linuxquestions.org/questions/linux-server-73/help-to-limit-a-folder%60s-size-without-using-quotas-662569/)

gustavolinux 08-13-2008 02:47 PM

help: to limit a folder`s size without using quotas
 
Friends, could anybody there give me a light, please, to solve the following problem: I need a way to limit the size of a folder, but without using group or user quotas... is there a good solution?

For example, I want to avoid that folder X grows up more than 100MiB, no matters who writes to the folder...

If there is no such way, maybe do you think that it is possible to create a new user account just to control the size of the folder X? I mean to put this new user as the owner of the folder X and allow any access to the folder... Do you think that, if someone writes to the folder, the quota of the new user would be consumed and reach an unbreakable limit?

thanks in advance

grepmasterd 08-13-2008 02:55 PM

maybe put the folder on a 100MB partition?

gustavolinux 08-19-2008 10:26 AM

solved
 
just to give a feedback: a loop device was a really good idea... to every folder that I want to limit its size I create an image of a file system with the right size... []'s


All times are GMT -5. The time now is 09:03 PM.