Josef “Jeff” Sipek

Quota

I was going to post this on the 28th, but then I decided to go to bed, now that I found the draft lying around, I decided to amend it.

Original post…

Quota are awesome! I am just playing with them on a disposable installation of Debian Sarge and it is lot of fun!

# modprobe quota_v2
# mount / -o remount,quota
# touch /aquota.user
# touch /aquota.group
# quotacheck -am
# edquota username

And now what I think about quota…

  • The user interface is very nice
  • The developer interface just plainly SUCKS

Yes, the user-land utilities are great in linux, the just work! But the quotactl() call is horrendous…first of all it is not portable. Sure, it work if you don’t make drastic changes to the environment, like changing the kernel quota system (ver. 1 in 2.4.21 and earlier, ver. 2 in 2.4.22 and later, including the 2.5/2.6 kernels). Also if you use something as non-standard as XFS, you are out of luck…the quotactl syscall takes a different command when using XFS. It’s just aweful.

0 Comments »

Atom feed for comments on this post.

Leave a comment

Powered by blahgd