Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

quotaon(8)

quotaoff(8)

EDQUOTA(8)                      Domain/OS BSD                       EDQUOTA(8)



NAME
     edquota - edit disk quota table

SYNOPSIS
     /etc/edquota device -l
     /etc/edquota device -d user ...
     /etc/edquota device limit user ...

DESCRIPTION
     edquota is used to change entries in the quota table for a specified
     device.  Entries can be deleted, added or changed.

OPTIONS
     -l   Causes the contents of the quota table to be displayed.  The
          following information is shown for each entry:

          user the user (person) this quota is for

          quota-limit
               the maximum amount of disk space (in 1024-byte units) that this
               user is allowed

          currently-used
               the amount of disk space (in 1024 byte units) currently charged
               against this user

     -d   The specified users are removed from the quota table.  Thereafter,
          assuming that quota checking is enabled, they will not be allowed to
          "allocate" any additional space on the device in question.

     limit
          The maximum quota for the specified users is set to this many 1024-
          byte units.  If a user is already in the quota table, his/her
          maximum quota is changed to this new value.

     user one or more users (login names) to be deleted from or added to the
          quota table

     device
          Pathnames to block device file for device whose quota table is to be
          edited.

WARNINGS
     Quotas can only be changed (as opposed to being listed) by a sufficiently
     privileged (ROOT) user.

     edquota will fail with a "disk quotas not configured" error if the disk
     volume is not configured (via invol) with a quota table.

     edquota will fail if the specified volume is not mounted.

EXAMPLE
     Examine the quota table on logical volume #1.

          $ edquota /dev/dsk/W0d0s1 -l
                User                   quota-limit   currently-used
                ----                   -----------   --------------
                moe                          7000          1005
                larry                       10000             0
                curly                       50000         43000

     Delete users moe and larry from this quota table.

          $ edquota /dev/dsk/W0d0s1 -d moe larry

     Add users bullwinkle and rocky, each with a quota of 5-MB.

          $ edquota /dev/dsk/W0d0s1 5000 bullwinkle rocky


SEE ALSO
     quotaon(8), quotaoff(8)

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