On Mon, May 25, 2020, 3:29 AM Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
I wonder why systemd doesn't notice
that the file has changed and reload accordingly.
The obvious as stupid answer is because it is not designed to work that way. The process is actually documented; see for example systemd-fstab-generator(8).
I would guess that keeping an eye on dozens of config files to see if any of them have changed would use a lot of system resources over time, but I expect there are more serious and less obvious reasons why this is not done.
In fairness to systemd, it has never been possible to edit /etc/fstab and have your changes automatically applied. It has always been necessary to run some sort of mount command (or reboot) after modifying fstab.
--Greg
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx