Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • The problem with the udev rule I proposed is that it is called on remove event which happens before /mnt/usb gets unmounted. It is not a problem with RUN script. So I guess I would have to completely get rid of udev rule and replace it with systemd service, but I don't know what would have to be After for the service to be called after /mnt/usb unmounted. Commented Jan 29, 2021 at 8:19