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
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to