Installation.

Aplly the patches against you 0.95c+ sources in the directory where your
linux kernel sources reside.

   % patch -p0 < quota-diffs

Patch your normal unistd.h include file with the unistd.dif file.
Edit you makefile and add the -DUSE_QUOTA to your CFLAGS. 
Copy quota.h into linux/include/linux.

Run a make. It should compile without any extra warnings.

Compile the additional programs and setup a quota for some
users.

Try it.


FILES:
quota-diffs - kernel diffs.
lib/*       - systemcalls
*.c         - user progs
quota.h     - quota structures. I have put this in linux/include/linux.

DEFINES
in quota.h
  Q_NO_QUOTA - user-id under which users have no quota. default = 10
  Q_SYNC_CNT - number of sync's to skip before updating quotas file on
	       disk. Default = 5
  QUOTA_VERBOSE - give some useful info while running. Default = undefined
  QUOTA_VERY_VERBOSE - Lot's off rubish. Merely for debugging purposes.
                       Default = undefined
  STRICT_QUOTA - users with no quota entry and uid > Q_NO_QUOTA can't do
               any i/o. Default = undefined

in linux/Makefile
  USE_QUOTA - include the quota code yes or no. Default = no


