I've written a script for automounting Samba shares, but automountd chokes on the $ in some Samba shares. I can't find any workaround other than -DDOLLAR=\$ in automountd_flags (great idea to have that option!), but I think it would be handy to have anyway.
- Group Reviewers
- rS342573: There is no way of escaping literal $ signs in auto_master(5), which
It results from Samba hidden shares having a $ in, and from my casual reading of the code \$ is not escaped?
I agree that putting $ into a share name is annoying, but unfortunately it's been done for years!
The other solution would be to allow \$ as an escape.