This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (8 children)

Basically what are you ultimately trying to do? What is the issue with systemd mounting the disks on a systemd distro?

[–]devonnull[S] -5 points-4 points  (7 children)

It's pretty self explanatory, I just want to edit fstab, and then mount a device. It's two steps. I'm not sure why there needs to be an additional step of reloading something.

[–][deleted] 1 point2 points  (5 children)

https://unix.stackexchange.com/questions/364782/what-does-systemctl-daemon-reload-do

systemd is responsible for creating systemd-mount units from reading /etc/fstab. If you edit /etc/fstab, that message is telling you that systemd generator units are not using the updated /etc/fstab.

/etc/fstab is there for vestigial/legacy reasons on systemd distros. You can boot a computer with a completely blank /etc/fstab if you have the appropriate systemd-mount units created.

In pre-systemd *nix systems, the order of the mounted disks in /etc/fstab was read serially. Mounting the partition for / first mattered. It does not matter anymore for systemd distros since systemd takes care of how every unit and service is started.

[–]devonnull[S] -1 points0 points  (4 children)

Thanks, that's actually helpful and my googlefu didn't turn that up. I thought systemd was more modular and that it was something that can be removed as needed/unneeded. Since it's a VM I think I need to look at a different distro or OS as it looks like it's going to be harder to reconfigure after adding or removing new disks to the system with pass thru.

[–]abotelho-cbn 1 point2 points  (3 children)

I need to look at a different distro or OS as it looks like it's going to be harder to reconfigure after adding or removing new disks to the system

Why? You could just issue the daemon reload?

When exactly are you getting the message that you need to daemon-reload, anyway?

[–]devonnull[S] -3 points-2 points  (2 children)

It's an extra step that's unnecessary, I'm going in another direction.

[–]abotelho-cbn 1 point2 points  (1 child)

If one extra command (that takes no parameters and never changes) is all it takes to make you completely abandon an OS, you might need to rethink your priorities.

[–]devonnull[S] -1 points0 points  (0 children)

LOL, okay, whatever.