Reload systemd after modifying fstab
authorMichael Prokop <mika@grml.org>
Fri, 25 Nov 2022 07:50:08 +0000 (08:50 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 25 Nov 2022 07:50:50 +0000 (08:50 +0100)
commit365c6de7922578cf6bc04c0b7f77d354f5fa8300
tree664ff9eafdd0e6587c84ab860ebacedbc2749137
parent2a7b533e961b8d6ea735237a86927473b2dccb8f
Reload systemd after modifying fstab

Otherwise e.g. mount(1) might complain about:

| mount: (hint) your fstab has been modified, but systemd still uses
|       the old version; use `systemctl daemon-reload` to reload.

Thanks: Chris Hofstaedtler for the bug report
Closes: https://github.com/grml/grml-autoconfig/issues/12
scripts/grml-udev-rebuildfstab