How to do usrquota without a /home partition
I want to use disk quota for my /home directory, but many articles on this subject based on that there is a /home directory in the fstab file. But the fstab file on my machine is like this:
"
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
"
I added a totally new line
"LABEL=/home /home ext3 defaults, usrquota 1 2"
But it did not work and the server even halted.
How can I do disk quota without a /home partition?
thanks for your help.
Last edited by floodking; 11-06-2005 at 03:57 AM.
|