How to force systemd to refresh or reloaded a changed fstab on Linux?

Posted on

On Linux, how to force systemd to refresh or reloaded a changed /etc/fstab file?

To force systemd to reload the changed /etc/fstab file content, run

$ sudo systemctl daemon-reload

To, further, make systemd auto remount any new entries, do

$ sudo systemctl restart remote-fs.target local-fs.target 

Related Posts