> To be honest I'm not sure how useful the unmount in hotplug really is
> anyway...usually if it's called it mean the device has already been
> removed, I think.

But if you don't unmount, then you're left with some "zombie" mount,
which still refers to the device name and can lead to problems (minor
ones, such as renaming of the device node next time you plug the usb
disk, or things like that.  Once/if we get LVM hooked into all this, it
gets worse because you really need to unmount the device before you can
deactive the LVM volume, and without deactivating it, you can't
"reactivate" it when you re-plug the usb disk).


        Stefan

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to