201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 18


What is the purpose of a system mount unit?

Show Answer
Correct Answer: AC

A system mount unit is created by the command systemd-fstab-generator to integrate entries from /etc/fstab into the system boot process. Systemd-fstab-generator translates the configurations defined in /etc/fstab into native systemd units early during boot or when system configuration is reloaded, allowing the correct integration and management of file system mounts.

Discussion

4 comments
Sign in to comment
milan92stankovicOption: A
Jan 18, 2021

A - 100%

Brunfthuf
Jun 29, 2023

It is not A. "systemd-mount may be used to create and start a transient .mount or .automount unit of the file system WHAT on the mount point WHERE." https://www.freedesktop.org/software/systemd/man/systemd-mount.html#

BrunfthufOption: C
Jun 29, 2023

It is definetly C! "systemd-fstab-generator is a generator that translates /etc/fstab (see fstab(5) for details) into native systemd units early at boot and when configuration of the system manager is reloaded. This will instantiate mount and swap units as necessary." https://www.freedesktop.org/software/systemd/man/systemd-fstab-generator.html

chiaseedOption: C
Sep 9, 2023

I think it's C. https://www.linux.org/docs/man8/systemd-fstab-generator.html

jchavarria12Option: D
Dec 27, 2023

The systemd-fstab-generator, which generates mount units for file systems based on /etc/fstab entries during the system boot process. However, it doesn't create individual "system mount units" as units specifically named or labeled for mounting. The primary purpose of a system mount unit is indeed to allow the command mount (utilizing systemd) to manage and handle the mounting and unmounting of file systems within the systemd environment. These units define how and where file systems should be mounted or unmounted when triggered by the mount command. The more accurate representation of the purpose of a system mount unit aligns closely with option D. Systemd uses unit files, including system mount units, to manage the mounting and unmounting of file systems when instructed by the mount command. Therefore, the primary interaction with these units occurs through the mount command in systemd for file system operations.