I have a single disk partition (say /shared
) shared by multiple users. It has a single file system (ext3). I want to put home directories for each of the user here and set their disk limit to 5 GB. Thus /share/home/user1
could have up to 5 GB and /share/home/user2
have could have up to 5 GB.
What is the command line way (not GUI) to do this?
Answered by @Flint:
Take a look at Using 'quota' for disk limits
Basically you need
edquota
util fromquota
package (apt-get install quota
) to set up disk quote for users.Please mark as answered.