XK0-005 · Question #92
A user attempts to use the mount -a command but gets the following error: mount: mount point /mnt/test does not exist Which of the following commands best describes the action the Linux…
The correct answer is B. mkdir -p /mnt/test. The error message explicitly states that the mount point directory '/mnt/test' does not exist. Before any filesystem can be mounted, its mount point - a directory - must exist on the filesystem. The correct next step is to create it using 'mkdir -p /mnt/test', which creates the…
Question
A user attempts to use the mount -a command but gets the following error:
mount: mount point /mnt/test does not exist Which of the following commands best describes the action the Linux administrator should take NEXT?
Options
- Amount -a /mnt/test
- Bmkdir -p /mnt/test
- Dmkfs /mnt/test
- Etouch /mnt/test
How the community answered
(41 responses)- A2% (1)
- B88% (36)
- D2% (1)
- E7% (3)
Explanation
The error message explicitly states that the mount point directory '/mnt/test' does not exist. Before any filesystem can be mounted, its mount point - a directory - must exist on the filesystem. The correct next step is to create it using 'mkdir -p /mnt/test', which creates the directory and any missing parent directories. Option A is incorrect because 'mount -a' with a path argument is not valid syntax for fixing this issue. Option D (mkfs) formats a storage device with a filesystem and is unrelated to creating a directory. Option E (touch) creates an empty file, not a directory, and cannot serve as a mount point.
Topics
Community Discussion
No community discussion yet for this question.