how to decide if disk / system is quotas capable
Stefan Miklosovic
miklosovic.freebsd at gmail.com
Tue Aug 25 10:53:18 UTC 2009
hi,
I am writing a script in which I want to decide if disk / system is capable
to set quotas for user / groups.
how to check it?
I am thinking about
1) checking enable_quotas="YES" in /etc/rc.conf
2) should I try to look in /etc/fstab? There is userquota and / or
groupquota in line for some disk device in option field.
3) should I test existence of quota.user and quota.group in filesystem root?
which method would be the best one?
thank you for time
More information about the freebsd-questions
mailing list