Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
setquota ? set disk quotas |
/usr/sbin/setquota [ ?n ] [ ?u | ?g ] name filesystem-name block-softlimit block-hardlimit inode-softlimit inode-hardlimit /usr/sbin/setquota [ ?n ] [ ?u | ?g ] [ ?p protoname ] name filesystem-name |
setquota is a command line quota editor. The filesystem, user/group name and new quotas for this filesystem can be specified on the command line. -n Edit also non-local quota use rpc.rquotad on remote server to set quota. -u set user quotas for named user. This is the default -g set qroup quotas for named group -p protoname use quotasettings of prototype user or group to set the quota for the named user or group To disable a quota, set the coresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem. Only the super-user may edit quotas. (In order for quotas to be established on a file system, the root directory of the file system must contain a file, owned by root, called quota.user or quota.group. See quotaon(8) for details.) |
quota.user or quota.group |
quota file at the file system root |
/etc/mtab |
mounted file systems |
edquota(8), quota(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8) |