» Linux »
Examen sur Linux »
Examen 201 : Advanced Administration »
Section 2 »
Question 3/20
Explanation: If you have a daemon which writes a log file and keeps that file open for writing then removing
the file will not free up the disk space. The file system still sees the program as having a reference to it.
Therefore the file system will not free up that disk space. The only way to free the space is to
restart the daemon
Reference: http://mail.gnu.org/pipermail/bug-fileutils/2001-February/001495.html
Incorrect Answers:
B: Unmounting and remounting the file system is unnecessary and may not free the space.
C: Sync is used to write the buffers to disk. It will not free the space.
D: Recreating the file will not free the space because the daemon has a reference to the old file.
E: Fsck is a file system checking tool. It won't free the space because it won't recognize it as corrupted.