Originally posted by KrGAce
Thanks on the Apache issue, i will try that. On the home directory, what file am I editing to put that code in?
It is a series of commands to execute. I'll explain in more detail:
1: dd if=/dev/zero of=/home/teacher1.filesystem bs=1M count=512
2: mkfs.ext2 /home/teacher1.filesystem
3: mount -o loop /home/teacher1.filesystem /home/teacher1
Line 1 will create a file /home/teacher1.filesystem that is empty but 512 MB in size.
Line 2 will then create a filesystem in that file and
Line 3 will mount that filesystem on /home/teacher1/
This is a nice workaround for a few people but you'll get into trouble at around 16 people and when they request more space.
Also, you should probably mount the filesystem somewhere else first (like, /mnt/temporary, create that directory first), then copy all the teachers files there, unmount it and then mount it to /home/teacher1.
For a non-workaround solution you should really look somewhere else.
I know that there's a package called "quota" but I never used it myself.