quotas on 5.3

David E. Meier dev at eth0.ch
Fri Nov 19 12:54:55 PST 2004


Hi Dave,

you can run the command:

# /sbin/quotacheck -avgu

This will create your quota.user file. Because you have set
check_quotas="NO" you can run the quotacheck command via cron task:

0  4 * * * root /sbin/quotacheck -avgu > /dev/null

HTH, Dave.

> Hello,
>     Got a question on quotas. I've enabled them on /usr and /var
> filesystems
> by adding the userquota option to their options in fstab. This is after i
> recompiled my kernel with the QUOTA option in it and rebooted. I then
> added:
> enable_quotas="YES"
> check_quotas="NO"
> to /etc/rc.conf and again rebooted. According to the handbook quota files
> should be created automatically i don't have to touch any zero-length
> quota
> files. When the system came back up i checked /usr and /var for quota user
> files, i did not see them. Boot up messages indicate quota on /usr but
> again
> no quota file. Is this normal? Did i miss something?
> Thanks.
> Dave.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>




More information about the freebsd-questions mailing list