| 再次以root登录,执行/usr/sbin/edquota命令,如下所示:
# edquota -u cloobie
它会读入/quota.user文件(这个文件本身是二进制的),并启动你的缺省的编辑器(通常是vi)。
屏幕上显示:
Quota for user cloobie:
/dev/hda3: blocks in use: 58, limits (soft =
0, hard = 0)
inodes in use: 41, limits (soft = 0, hard =
0)
如果你要把硬盘空间限制设置为 3-5MB,把文件个数设置为500-1000个,可以改为:
Quota for user cloobie:
/dev/hda3: blocks in use: 58, limits (soft =
3000, hard = 5000)
inodes in use: 41, limits (soft = 500, hard
= 1000)
存盘。
|