"samba-discovery". An automounter script for windows shares

Hi.

At the last lan party I found it quite annoying to mount samba shares by hand all the time (as I don't use a smb capable browser with fuse like dolphin or the like). So here's what I've come up with. Explenations on how it works are at the start of the script. You can also download it directly from here. Basically you run it and anything available on the lan will be tidily mounted to /mnt/samba-discovery/*.

Re: "samba-discovery". An automounter script for windows shares

thanks a lot, i wanted to write that script for a long time, but never got around. one thing though, you shouldn't mount stuff in a subfolder of /mnt because /mnt itself should be kept for such purposes (unix file hierarchy standards, afaik)

Re: "samba-discovery". An automounter script for windows shares

Re: "samba-discovery". An automounter script for windows shares

Looks good, Heller_Barde is saying you should mount everything directly in /mnt instead of in /mnt/samba-discovery but IMHO I don't see any problems with doing it the way you've done - you are still mounting in /mnt.