Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ repquota(8) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

edquota(8)

fsck(8)

quota(1)

quotacheck(8)

quotaon(8)

quotactl(2)

fstab(4)

repquota(8)  —  Maintenance

NAME

repquota − Summarizes file system quotas. 

SYNOPSIS

/usr/sbin/repquota [−guv] file_spec...

/usr/sbin/repquota −a [−guv]

OPTIONS

−aPrints quotas for all the file systems listed in /etc/fstab for both users and groups.  The default is to print quota information for users only. 

−gPrints group quotas only. 

−uPrints user quotas only. 

−vPrints a header line before the information for each file system. 

OPERANDS

file_spec
Specifies one or more file systems.  Specify any file system by entering its device special file pathname, its mount point (UFS) or its AdvFS domain name as shown in the /etc/fstab file. 

For UFS file systems, you can alternatively enter the name of a block device special file.  For example: /dev/disk/dsk3c. 

For AdvFS filesets, you can alternatively enter the name of a file domain, a pound sign (#), and the name of the fileset.  For example: root_domain#root. 

DESCRIPTION

The repquota command prints a summary of the disk usage and quotas for the specified file systems.   The command provides a snapshot of the quota statistics, which may be inaccurate if there is current activity in the file system. To ensure that the satistics are accurate, run the command when there is no file system activity. 

To be included in the summary, each file system must have the userquota and groupquota entries in the /etc/fstab file and must be mounted.  The following is an example of an entry in the /etc/fstab file for the usr fileset:

advfs_dmn#usr      /usr        advfs rw,userquota,groupquota

By default, only user information is displayed. Specifying the −a option displays both user and group information. For each user or group, the current number of files and amount of space (in kilobytes) is printed, as well as quota limits established with the edquota command. 

NOTES

Disk quotas are displayed as 1 kilobyte blocks. 

The term file system represents either a UFS file system or and AdvFS fileset. 

RESTRICTIONS

You must be the root user to use the repquota command. 

EXAMPLES

The following commands are valid:

# more /etc/fstab
/dev/disk/dsk4a /       ufs rw 1 1
/proc           /proc   procfs rw 0 0
usr_domain#usr  /usr    advfs rw 0 2
var_domain#var  /var    advfs rw 0 2
# /usr/sbin/repquota -a
# /usr/sbin/repquota /dev/disk/dsk4a
# /usr/sbin/repquota /var
# /usr/sbin/repquota var_domain#var

FILES

/usr/sbin/repquota
Specifies the command path.

[setname_root]/quota.user
Contains user quotas for file systems.

[setname_root]/quota.group
Contains group quotas for file systems.

/etc/fstab
Contains fileset names and locations.

SEE ALSO

Commands: edquota(8), fsck(8), quota(1), quotacheck(8), quotaon(8)

Functions: quotactl(2)

Files: fstab(4)

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