LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.





Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.



quotaon

quotaon [options] [filesystems]

System administration command. Turn on enforcement of filesystem quotas. To work, the filesystems must have a gpquota, quota, or usrquota option listed in the /etc/fstab file. On most filesystems, user and group quota files must also exist. XFS filesystems store quota information as metadata instead of as files. Use edquota or setquota to create the appropriate quota information.

Options

-a

Turn on quotas for all autoloading filesystems in /etc/fstab that support them.

-f

Invoke quotaoff instead of quotaon.

-g

Turn group quotas on.

-p

Print current quota status, then exit.

-u

Turn user quotas on.

-v

Print a message for each filesystem affected by the command.