Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vedquota(8) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

vquota(1)

quotacheck(8)

vquotaon(8)

quotactl(2)

fstab(4)

vedquota(8)  —  Maintenance

NAME

vedquota − edits user quotas

SYNOPSIS

/usr/sbin/vedquota [−p proto_user] [−u] username ... 

/usr/sbin/vedquota [−p proto_group] −g groupname ... 

/usr/sbin/vedquota [−u | −g] −t

FLAGS

−gEdits the quotas of one or more groups, specified by groupname on the command line.  When used with the −t flag, sets or changes the grace period for all filesets with group quotas specified in the /etc/fstab file. This flag also sets the fileset quota grace period. 

−p proto_user | proto_group
Causes vedquota to initialize the specified quotas by duplicating the quotas of the specified prototypical proto_user (if used with the −u flag or no other flags) or proto_group (if used with the −g flag).  proto_user or proto_group must have a previously defined and valid quota file.  Editing quotas for one user, then using the −p flag to duplicate these quotas is the normal mechanism used to initialize quotas for a group of users. 

−tSets or Changes the default grace period for which users may exceed their soft limits.  By default, or when you specify −t with the −u flag, the grace period is set for all filesets with user quotas specified in /etc/fstab; when you specify −t with the −g flag, the grace period is set for all the filesets with group quotas specified in /etc/fstab. 

−uEdits the quotas of one or more users, specified by username ... on the command line.  −u  is the default.  When used with −t, changes the grace period for all filesets with user quotas specified in /etc/fstab. 

DESCRIPTION

The vedquota command is a quota editor. 

For each user or group, the program creates a temporary file with an ASCII representation of the current disk quotas for that user or group, then invokes an editor that you use to modify the file.  The vi editor is invoked by default.  To override the default, specify a different editor for the EDITOR environment variable in your login file. 

Using the editor, you can then modify quotas, add new quotas, and so on.  Setting a quota to 0 (zero) indicates that no quota should be imposed.  Setting a hard limit to 1 (one) indicates that no allocations should be permitted.  Setting a soft limit to 1 (one) with a hard limit of 0 (zero) indicates that allocations should be permitted on only a temporary basis (see the −t flag).  The current usage information in the file is for informational purposes; only the hard and soft limits can be changed. 

For each fileset, the program creates a temporary file with an ASCII representation of the current grace period for that user or group, then invokes an editor that you use to modify the grace period.  The grace period may be specified in days, hours, minutes, or seconds.  Setting a grace period to 0 (zero) indicates that the default grace period should be imposed.  Setting a grace period to 1 second indicates that no grace period should be granted.  When you exit the editor, vedquota reads the temporary file and modifies the quota.user and quota.group files for the target fileset to reflect the changes made. 

Changes in grace periods take effect immediately, unless a grace period is currently in effect.  For example, let’s assume that a user exceeds a soft limit and receives a grace period of 7 days.  A subsequent change to a grace period of 1 day will not affect the user’s already-established grace period, unless the user drops below the soft limit and exceeds it once again.  The default grace period for a fileset is specified in the quota.user and quota.group files for the target fileset. 

Only the superuser can edit quotas. 

FILES

/usr/sbin/vedquota
Specifies the command path

[fileset_root]/quota.user
Contains user quotas for filesets

[fileset_root]/quota.group
Contains group quotas for filesets

/etc/fstabContains fileset names and locations

RELATED INFORMATION

vquota(1), quotacheck(8), vquotaon(8), quotactl(2), fstab(4). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026