Quota support 1.3.6x

James R. Leu (jleu@chaos.coredcs.com)
Sun, 18 Feb 1996 16:33:04 -0600 (CST)


I know quota support is not a high priority for kernel development. BUT
I was wondering is anyone has written a patch so that quota-1.51 can
compile on the 1.3.6? kernels.

I have given an attempt at figuring it out for myself, but I cannot figure
out one error:

"incomplete type" error for structure semaphore in <linux/mount.h>

This is what I have tried so far:
-added typedef dev_t kdev_t to <linux/mount.h>
-I chose dev_t because it will be used outside of the kernel
-there has to be a better way to do this in <linux/kdev_t.h>
-added some defines to <mntent.h> for MNTOPT_NOQUOTA/USRQUOTA/GRPQUOTA
-I have libc-5.0.9 and I think that is why I needed these defines
-tried adding #include <linux/wait.h> to <linux/mount.h> to solve the
struct semaphore error.. no dice ( was this even close? )

If anyone has any insight into this I would greatly appreciate hearing from you.
Anything I find I will post here.

Jim

-- 
James R. Leu
Network Administrator
CORE Digital Communication Services
jleu@coredcs.com