📄 notes
字号:
Solaris-------The quota or rq options in /etc/vfstab are only used by quotaon -a at boottime, to determine whether to turn on quotas for the filesystem.When quotas are activated, the quota option is added to /etc/mnttab. Actuallymounting with this option is pointless - only the quotaon command can reallyturn on quotas.When quotas are newly enabled for a filesystem and a user assigned blocklimits (but not file), these limits seem to take effect immediately. When the file limits are turned on, they also take effect immediately(but the number of existing files does not seem to be computed).On the other hand, blocks used are always recorded even if the quotasare set to 'unlimited'.Linux-----The usrquota and grpquota options in /etc/fstab are used by quotaonwhenever it is run. Unlike solaris, the filesystem must exist in the fstabfile (and have quota options) for quotaon to do anything. Also, quotaon doesnot update the mtab file when quotas are turned on (but does complain if quotas are activated twice). Similarly, quotaoff does nothing unless thequota options are given in /etc/fstabThe quota option documented in the man pages seems to be totally ignored - only usrquota and grpquota are used by quotaon.Quotas seem to have some problems under redhat linux using kernel 2.0.21(redhat 5.1). quotacheck and repquota will often hang when both user andgroup quotas are active at the same time. Each can be used separatelywith no problems though (as long as a quotacheck is done after creatingthe quotas file!)When quotas are enable for some filesystem, they take effect immediately forboth files and blocks. Even if a user creates files and then has quotasset, the counts will be up to date.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -