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?
A.
Yes. Quotas do not include any of the system files such as /tmp /swap.
B.
Yes. The quota is set at the directory level, not the user level.
C.
No. The command will fail because it will cause him to exceed his user quota.
D.
No. A user cannot place files into the /tmp directory.
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.
Reference: System Administration Guide: Advanced Administration, Managing UFS Quotas
A