On Mon, 22 Jun 1998, James FitzGibbon wrote:
- preload the /etc/quotas file with entries for all possible UIDs,
then just change the quota as they request it. This way the /etc/quotas will always be the same length and contain the same number of users.
This worked nicely for me... just run a quick script to touch/chown a bunch of files, quota on/off once, and you're set. I preload a few thousand uid's at a time on the Netapps here that provide virtual mail and web hosting, then have a script that generates filer /etc/passwd files so that "quota report" shows domain names in the username field.