mount: call hotplug-call with ACTION=remove before trying to unmount
authorRafał Miłecki <[email protected]>
Wed, 21 Feb 2018 12:32:17 +0000 (13:32 +0100)
committerRafał Miłecki <[email protected]>
Mon, 26 Feb 2018 05:12:03 +0000 (06:12 +0100)
commitaaf2743670ef230a6a8922030ac30d2303e2accd
treed3b9629ef27922165277719ee74be263bb637281
parent97da4edeb9eb3b26c9843d3a5ab605e7bcf2573f
mount: call hotplug-call with ACTION=remove before trying to unmount

This increases a chance of successfully unmounting a drive as calling
hotplug.d scripts may result in stopping applications using it.

Signed-off-by: Rafał Miłecki <[email protected]>
mount.c