I need to find out which systemd
service mounts /dev/sdb
(aka /mnt/resource
) on Windows Azure? I am using Centos 7 image and it is systemd-based and I am trying to launch a service that depends on /mnt/resource
mounted already.
Tried googling but not much luck yet.
I managed to find an answer after a while. It is not that simple though:
/mnt/resource
is calledwaagent.service
systemd
only allows you to wait till it starts, not till it finishes startup