When I “safely remove” an external hard-drive from my file-manager (Thunar), the whole hard-drive is powered off and disappears from
/dev. Therefore, I guess that under the hood, this is done by calling
udisksctl power-off -b /dev/sdX which has the same effect.
I thought it should somehow be possible to bring the device up again. After having read https://stackoverflow.com/a/12675749, I thought that powering off is maybe done by writing to
/sys/bus/usb/devices/usbX/power/control, but the sysfs seems to remain untouched.
So, how is it possible to power-on an external device again after powering it off with udisksctl? To me, it is annoying that I can not re-mount a partition after unmounting it from the file manager.