James Manning's Blog

May 30, 2006

autofs/automount and admin shares

Filed under: Uncategorized — manningj @ 1:26 am

Admin shares are those ones that end in $ and are available “automatically” from Windows. I tried to add a /etc/auto.misc entry to auto-mount one of them, but it was attempting to mount share “c” instead of “c$”

The “trick” wasn’t to add quoting (my first guess) but instead a backslash to escape the $ (presumably they’re doing variable expansion?)

Example line:

jessica -fstype=smbfs,ro,credentials=/root/.windows-admin-creds ://jessica/c\$


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.