What is the purpose of a systemd mount unit?

A. It is used by the command systemd-mount and allows users to mount partitions to mount points of their choice
B. It is used only to mount network file systems to local mount points. It cannot be used for local media
C. It is created by the command systemd-fstab-generator to integrate entries from /etc/fstab into the system boot process
D. It is used by the command mount when using system to mount and unmount file systems

题解

「systemd mount unit」是「systemd」的其中一项功能,借由在「/etc/systemd/system」目录下创建不同的「.mount」设置文件,文件名称必须依照挂载点的路径来命名(例如「/home/lennart」要命名为「home-lennart.mount」),来分别设置不同的文件系统要挂载的方式,就不像传统「/etc/fstab」那样把文件系统的挂载设置通通挤在一起,很难直接利用「/etc/fstab」文件进行选择性挂载或是卸载。此外,「.mount」设置文件也跟「.service」文件一样,可以方便地使用「systemctl」指令来进行控制。

因此答案是选项「A」。