ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 83 - XK0-005 discussion

Report
Export

A Linux administrator created a new file system. Which of the following files must be updated to ensure the filesystem mounts at boot time?

A.
/etc/sysctl
Answers
A.
/etc/sysctl
B.
/etc/filesystems
Answers
B.
/etc/filesystems
C.
/etc/fstab
Answers
C.
/etc/fstab
D.
/etc/nfsmount.conf
Answers
D.
/etc/nfsmount.conf
Suggested answer: C

Explanation:

The file that must be updated to ensure the filesystem mounts at boot time is /etc/fstab. This file contains information about the filesystems that are mounted automatically by the mount -a command, which is usually invoked during the system startup. The /etc/fstab file has six fields for each filesystem: device name, mount point, filesystem type, mount options, dump frequency, and pass number. To add a new filesystem to the /etc/fstab file, you need to specify these fields correctly and make sure the mount point directory exists.

The other options are not correct files for controlling persistent mount points of filesystems. The /etc/sysctl file is used to configure kernel parameters at runtime. The /etc/filesystems file is used to specify the order of filesystem types used by mount when no filesystem type is given. The /etc/nfsmount.conf file is used to set options for mounting NFS filesystems. Reference: Persistently mounting file systems; fstab(5) - Linux manual page

asked 02/10/2024
stephen mark
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first