I would like to be able to have a RPi with raspbian automatically mount and create an SMB share for any USB HDD that is plugged in. I don’t want to mess around with fstab and smb.conf. I just want to plug it in to the raspberry and have it show up on a windows computer as \RPi\Volume_label and be accessible using the main RPi user/password (default pi/raspberry)
I like the way that OSMC works. It seems to do exactly what I want, but I would like to be able to do it on plain raspbian.
Is there a package or set of instructions I could use to replicate this functionality in raspbian, or is what OSMC does too deeply entwined to be easily copied?