Linux_FoundationLinux_Foundation
LFCS · Question #693
LFCS Question #693: Real Exam Question with Answer & Explanation
The correct answer is D: It ensures that all file systems listed with the option auto in /etc/fstab are mounted.. The mount -a command reads the /etc/fstab file and mounts all file systems that are explicitly listed with the auto option.
Submitted by haru.x· Apr 18, 2026Storage Management
Question
What does the command mount -a do?
Options
- AIt ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
- BIt shows all mounted file systems that have been automatically mounted.
- CIt opens an editor with root privileges and loads /etc/fstab for editing.
- DIt ensures that all file systems listed with the option auto in /etc/fstab are mounted.
- EIt ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
Explanation
The mount -a command reads the /etc/fstab file and mounts all file systems that are explicitly listed with the auto option.
Common mistakes.
- A. The
noautooption in/etc/fstabexplicitly prevents a file system from being mounted bymount -aor during the boot process. - B. While
mountwithout arguments shows mounted filesystems,mount -aactively attempts to mount filesystems, not just display them. - C.
mountis a command for managing file system mounts, not for editing configuration files; an editor likeviornanowould be used for modifying/etc/fstab. - E.
mount -arespects thenoautooption in/etc/fstaband will not mount those file systems, so it does not mount all listed file systems regardless of their options.
Concept tested. mount -a command functionality
Reference. https://man7.org/linux/man-pages/man8/mount.8.html
Topics
#mount command#/etc/fstab#File Systems#Auto-mounting
Community Discussion
No community discussion yet for this question.