LPIC-1 Exam 101 v5 (Linux Administrator) — Question 45
What does the command mount --bind do?
Answer options
- A. It makes the contents of one directory available in another directory
- B. It mounts all available filesystems to the current directory
- C. It mounts all user mountable filesystems to the user's home directory
- D. It mounts all file systems listed in /etc/fstab which have the option userbind set
- E. It permanently mounts a regular file to a directory
Correct answer: A
Explanation
The correct answer is A, as the mount --bind command allows the contents of one directory to be accessed from another location in the filesystem. The other options do not accurately describe the function of mount --bind and refer to different mounting behaviors or options that do not exist.