1Z0-821 · Question #97
user1 has a disk quota of 0.5 MB. The user attempts to run the following command on a file called .bigfile that is 495 KB in size: cp bigfile /tmp Will the command execute successfully?
The correct answer is A. Yes. Quotas do not include any of the system files such as /tmp /swap. UFS quotas enable system administrators to control the size of file systems. Quotas limit the amount of disk space and the number of inodes, which roughly corresponds to the number of files, that individual users can acquire. For this reason, quotas are especially useful on the…
Question
user1 has a disk quota of 0.5 MB. The user attempts to run the following command on a file called .bigfile that is 495 KB in size:
cp bigfile /tmp Will the command execute successfully?
Options
- AYes. Quotas do not include any of the system files such as /tmp /swap.
- BYes. The quota is set at the directory level, not the user level.
- CNo. The command will fail because it will cause him to exceed his user quota.
- DNo. A user cannot place files into the /tmp directory.
How the community answered
(22 responses)- A73% (16)
- B9% (2)
- C5% (1)
- D14% (3)
Explanation
UFS quotas enable system administrators to control the size of file systems. Quotas limit the amount of disk space and the number of inodes, which roughly corresponds to the number of files, that individual users can acquire. For this reason, quotas are especially useful on the file systems where user home directories reside. As a rule, the public and /tmp file systems usually do not benefit significantly by establishing quotas. Note: The cp command copies files and directories.
Topics
Community Discussion
No community discussion yet for this question.