Developer's Daily Unix by Example
  main | java | perl | unix | dev directory | web log
 
 
Main
Unix
Man Pages
   

SETQUOTA

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS

NAME

setquota ? set disk quotas

SYNOPSIS

/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

DESCRIPTION

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.)

FILES

quota.user or quota.group

quota file at the file system root

/etc/mtab

mounted file systems

SEE ALSO

edquota(8), quota(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8)

BUGS


copyright 1998-2007, devdaily.com, all rights reserved.
devdaily.com, an alvin j. alexander production.