These files were taken from the quotatool-1.4.1 project from Mike Glover Johan Ekenberg The quota support in linux has been reworked over the year. As far as I know it went like this -The quota support in Linux official kernel has remained the same API wise and supporting it was easy. -Someone create a new scheme using different quota.user files format. For some reason, they did not keep the same opcode number for the quotactl call. This scheme was adopted by RedHat. And various RedHat kernel are supporting various version of this new quota system with some incompatibilities. Probing the quota version inside the kernel is not supported directly so various tests are performed to identify the proper quotactl api to use. Some of the tests are not bulletproof. For example, RedHat quota utilities checks for /proc/sys/fs/quota. If it exists, the utilities assume this is the new quotactl version. Unfortunatly, recent official linux (Linus) kernel do have this directory as well, yet are implementing the old API. Fun!