雖說, 在 /etc/fstab 中的 mount entries 能加上不少 x-systemd.*
的 systemd option, 但有些 mount.*
在碰到 x-systemd.*
並不會跳過它, 造成 mount 失敗.
但, 一些 mount option 又只能用在 /etc/fstab
之中, 例如 user (授權一般 user 讓他們能 mount). 另外還有像是 mount
命令也是看 /etc/fstab
而非 *.mount
的, 這種情況下就會造成 mount
命令執行時需要下達完整的 options, 會麻煩很多.
結論: mount entry 還是放在 /etc/fstab
中最好
需要加上額外的 systemd 資訊如相依性時, 可改用 droplets 完成, 這樣 mount
命令可正常使用. systemd 也能得到最完整的資訊.