LPIC-1 Exam 101 v5 (Linux Administrator) — Question 25
Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?
Answer options
- A. systemd ignores any manual mounts which are not done using the systemctl mount command
- B. The command systemctl mountsync can be used to create a mount unit based on the existing mount
- C. systemd automatically generates a mount unit and monitors the mount point without changing it
- D. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
- E. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point
Correct answer: C
Explanation
The correct answer is C because systemd does indeed automatically generate a mount unit for manually mounted file systems and monitors them. Option A is incorrect as systemd can handle manual mounts, and option B is wrong because the command is not valid. Option D is also not correct since systemd does not unmount the file system automatically if a mount unit is not created, and option E is misleading as unmounting can be done without requiring systemctl in this context.