Used Busybox 1.20.1 have a little "bug" in hotplug section.
If I put USBstick or microSD, disk isn't mounted. That's normal, missing definitions in mdev.conf.
When I manually add:
sd[a-z][0-9] 0:6 660
mmcblk[0-9]p[0-9] 0:6 660
devices are mouned as right. But If are unpluged, in the root system still showing, also with files.
TVheadend still see potential device for recording, If we have planned records, or autorec in shedule...
(Other, mainly applications too)
Better way is use automounter script, what remove block devices from media folder, if are unplugged.
1. Create directory /lib/mdev
2. Copy info /lib/mdev script "automounter.sh"
3. In mdev.conf:
sd[a-z][0-9] 0:6 660 */lib/mdev/automounter.sh
mmcblk[0-9]p[0-9] 0:6 660 */lib/mdev/automounter.sh
reboot
Edit: little update, I forgot for async OPT parameter