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.
Details
Details
- Reviewers
trasz bcr - Group Reviewers
manpages - Commits
- rS342573: There is no way of escaping literal $ signs in auto_master(5), which
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 4385 Build 4435: arc lint + arc unit
Event Timeline
Comment Actions
I'd prefer to just fix the code that's breaking it. It looks like it's a result of overzealous escaping somewhere...
Comment Actions
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.
Comment Actions
Don't forget to bump the .Dd at the beginning of the man page to today's date as this is a content change. Thanks!