IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
openbsd:shell:quotas [2020/02/27 01:41]
pirata
openbsd:shell:quotas [2020/03/07 19:56]
pirata
Line 3: Line 3:
 There are two types of quotas - soft and hard quotas. There are two types of quotas - soft and hard quotas.
  
-  - **soft quotas** - allows further disk allocation but once threshold is reached, warns users and sets a grace period time so they can decrease their disk usage below limits. After the grace period is over, the soft limit is handled as a hard limit+  - **soft quotas** - allows further disk allocation butonce threshold is reached, warns users and sets a grace period time so they can decrease their disk usage below limits. After the grace period is over, the soft limit is handled as a hard limit
   - **hard quotas** - does not allow any more disk allocation once threshold is reached.   - **hard quotas** - does not allow any more disk allocation once threshold is reached.
  
Line 16: Line 16:
  
 ====== Defining limits ====== ====== Defining limits ======
-To set thresholds, We use edquota(8). Keep in mind that values are measured in KB (1MB equals to 1000KB).+To set thresholds, We use edquota(8). Keep in mind that values are measured in KB (1000KB ​equals to 1MB).
  
 edquota(8) invokes vi(1) unless you specify other editor. edquota(8) invokes vi(1) unless you specify other editor.
Line 62: Line 62:
 </​code>​ </​code>​
  
-====== Displaying ​limits ​  ======+====== Displaying ​quota statistics ​  ======
 quota(1) outputs current disk usage and limits. By default, only the user quotas are printed but you can see group quotas by invoking **-g** ​ option. quota(1) outputs current disk usage and limits. By default, only the user quotas are printed but you can see group quotas by invoking **-g** ​ option.