Use the quota editor to create a temporary file that contains one line of quota information for each mounted UFS file system that has a quotas file in the file system's root directory.
# edquota username |
Where username is the user for whom you want to set up quotas.
Change the number of 1-Kbyte disk blocks (both soft and hard) and the number of inodes (both soft and hard) from 0 (the default) to the quotas you specify for each file system.
Verify the user's quota.
# quota -v username |
-v |
Displays the user's quota information on all mounted file systems where quotas exist. |
username |
Specifies the user name to view quota limits. |
The following example shows the contents of the temporary file opened by edquota on a system where /files is the only mounted file system containing a quotas file in the root directory.
fs /files blocks (soft = 0, hard = 0) inodes (soft = 0, hard = 0) |
The following example shows the same line in the temporary file after quotas have been set up.
fs /files blocks (soft = 50, hard = 60) inodes (soft = 90, hard = 100) |