首页
首页 » 其它 » setquota

setquota


setquota

setquota [options] [name] [limits] filesystems

System administration command. Set quotas from the command line. Provide limits in the format soft-block-limit hard-block-limit soft-inode-limit hard-inode-limit. To disable a quota, set it to 0. See also edquota, a vi editor interface for editing and setting quotas.

Options

-a

Apply settings to all filesystems listed in /etc/mtab that support quotas.

-b

Read new settings from standard input. Provide as a list, each line in the form of "name limits."

-Fformat

Specify filesystem quota format to use. See quota for a list of accepted values.

-g

Set group quotas instead of users.

-pprototype

Apply the same settings as used for the specified user or group: prototype.

-tblockgrace inodegrace

Specify overall grace times in seconds for block and inode quotas.

-Tname blockgrace inodegrace

Specify grace times in seconds for individual user or group name. Use the string unset to remove existing grace times.

-u

Set user quotas. (This is the default.)