Operating Systems

A technician wants a second internal drive to mount automatically at /data every time a Linux desktop boots. Which file should hold the entry for it?

Show the answer

Correct answerC. /etc/fstab

AWhy not this: This file stores password hashes and has no mount configuration.

BWhy not this: This file maps hostnames to IP addresses and does not define mounts.

CWhy this is right: Its entries give the device, mount point, filesystem type and options used to mount drives at boot.

DWhy not this: This file sets DNS servers and search domains, not storage mounts.

/etc/fstab lists filesystems with their mount points and options, which the system mounts at boot. /etc/hosts only maps names to addresses, so it cannot mount a drive.