Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An easy method of creating disk quotas for users' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An easy method of creating disk quotas for users
Authored by: Anonymous on Jul 18, '03 12:55:44PM

For the command-line method, see the commands

edquota(8) - edit user quotas
quota(1) - display disk usage and limits
quotacheck(8) - filesystem quota consistency checker
quotactl(2) - manipulate filesystem quotas
quotaon(8), quotaoff(8) - turn filesystem quotas on and off
repquota(8) - summarize quotas for a file system

(as given by man -k quota)

---
--
Thomas Deniau



[ Reply to This | # ]
An easy method of creating disk quotas for users
Authored by: ColonelPanic on Jul 19, '03 02:18:30PM

Just a thought, but why not set up .dmg disk images for each user (changing each users home folder location with one of the many methods available on this site). That way, each user is limited to the size of the disk image. You can also encrypt the disk image - though I'm not entirely sure you could make it automounting - that would require access to the keychain, which would be _inside_ the disk image... but worth exploring.



[ Reply to This | # ]
user folders on .dmg
Authored by: VRic on Jul 20, '03 01:42:44PM

This is exactly what I was about to suggest, with the added comment that since OSX follows aliases even INSIDE disk images (found that long ago, don't remember if a hint was posted already), this method should work in yet unsuspected situations. Like, maybe, keeping the existing users folders where they are but replacing their subfolders with aliases pointing inside disk images elsewhere (allowing distinct quotas for Music and Documents? Easing backup of users stuff? Combine with "real" quotas to minimize usage of the boot volume and store user data to other locations?)

I'm not sure how well this would work, but it seems worth trying.



[ Reply to This | # ]
An easy method of creating disk quotas for users
Authored by: wrwjpn on Jul 20, '03 07:31:58AM

The CLI method only works if you install the system with disk quotas enabled. Which I think the average user doesn't know how to do. When I installed from the CD that came with my imac I was not able to choose this as an option. If someone could tell me how to install 10.2 with disk quotas enabled I would greatly appreciate it.

Bill



[ Reply to This | # ]
An easy method of creating disk quotas for users
Authored by: mule on Jul 21, '03 04:22:21AM

..and just another note. Webmin can also be found in Fink (http://fink.sf.net).

This might make it easier for some people to install your suggested software solution.



[ Reply to This | # ]