LFCS · Question #715
How can you turn off the group quota in /pub?
The correct answer is B. quotaoff-gv/pub. To disable group quotas for the /pub filesystem, the quotaoff command is used with the -g option for group quotas and the specified mount point.
Question
Options
- Aquotaoff/pub
- Bquotaoff-gv/pub
- Cquotadown /pub
- Drm/pub/quota.group
How the community answered
(22 responses)- B91% (20)
- C5% (1)
- D5% (1)
Why each option
To disable group quotas for the `/pub` filesystem, the `quotaoff` command is used with the `-g` option for group quotas and the specified mount point.
`quotaoff/pub` is missing the necessary flag to specify whether user or group quota (or both) should be turned off.
The `quotaoff` command is used to disable disk quotas on a filesystem. The `-g` option specifically targets group quotas, and `/pub` specifies the mount point where the quota should be turned off.
`quotadown` is not a standard Linux command for managing quotas.
Deleting the quota file with `rm /pub/quota.group` would remove the quota data but doesn't gracefully turn off the quota subsystem, which could lead to errors or inconsistencies.
Concept tested: Linux disk quota management (quotaoff)
Source: https://man7.org/linux/man-pages/man8/quotaoff.8.html
Topics
Community Discussion
No community discussion yet for this question.