On Tue, 17 Aug 2004, Geoff Mishkin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have a situation that requires me to have embedded spaces in the options 
> field of my automounter map.  To make things trickier, the map has to be 
> generated with an executable map.  I am using shfs and have to use it's cmd 
> mount option to force it to connect using a specific private key file.  This 
> requires there to be embedded spaces in the options field, like this:
> 
> - -fstype=shfs,cmd="ssh -i /usr/keys/<username> <username>@<host>"
> 
> Which causes the automounter to complain bitterly.  Most of the information 
> I've found is for having spaces in share names or mount points, but the 
> advice given doesn't work in the options field.  I've tried all kinds of 
> quotes, backslashing, etc.  I'd greatly appriciate help.
> 
> Please CC me on replies as I am not subscribed to the list.

You don't say which version of autofs you are using?

Ian

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to