Roger Oberholtzer composed on 2017-08-16 12:30 (UTC+0200):
on Leap 42.3:
If I make a change to /etc/fstab so that, for example, I make an item be automounted by systemd, how can I get systemd to re-read this file without rebooting?
I have added the following to an entry, and would like to see that the item gets mounted when accessed.
noauto,x-systemd.automount,x-systemd.idle-timeout=60,nofail
I expected something like:
systemctl restart automount
or
systemctl restart mount
But this seems not to work.
In what I think is the same vein, I to a lot of repartitioning and moving and cloning of partitions. So, I have to follow-up with fstab edits, which I too frequently do imperfectly. As example, LABEL=f24h50 /mnt/f24 ext4 noatime,nofail 0 0 was supposed to be replaced by LABEL=f26h50 /mnt/f26 ext4 noatime,nofail 0 0 but instead I did LABEL=f22h50 /mnt/f26 ext4 noatime,nofail 0 0 and found mount /mnt/f26 failed. I fixed it and tried again. Mount returned no error, but neither did f26h50 get mounted. After reading the whole thread, it's entirely unclear to me what one is supposed to do after such an edit fixup to successfully mount f26h50, short of rebooting. Likewise similarly by s/nofail/noauto/g above. This was such a simple error to deal with pre-systemd. :-( -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org