autofs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ken Gillett <KenGroups@ukgb.net>
To: autofs@vger.kernel.org
Subject: space(s) in key or location names
Date: Fri, 20 Nov 2015 09:42:34 +0000	[thread overview]
Message-ID: <B75A85DC-1A7A-475F-AE15-7FBF60FCE936@ukgb.net> (raw)

I’m really struggling with this and hope someone can point me to a solution.

I need to automount onto a mountpoint (directory, i.e. folder as it’s on OS X) that has a space in the name and I cannot change that. I’ve read many suggestions to escape the space with a ‘\’ or ‘\040’ or quote the path, but nothing I’ve tried works. It either simply fails to work or creates the mountpoint that includes the escape chars in its name.

To clarify, other mounts that have no space involved work fine, so the basic setup is sound and if the automount is configured in a local (LDAP) directory, the space is no problem. However, I don’t want to use that method and really need to use simple map files in /etc, but there seems to be this issue with how they are parsed. I am clearly not the only person with this problem.

I’d really appreciate it if someone could explain how to overcome this and allow for spaces in pathnames used in map files.



Ken  G i l l e t t

_/_/_/_/_/_/_/_/




--
To unsubscribe from this list: send the line "unsubscribe autofs" in

             reply	other threads:[~2015-11-20  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20  9:42 Ken Gillett [this message]
2015-11-23  1:40 ` space(s) in key or location names Ian Kent
2015-11-23  1:53   ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B75A85DC-1A7A-475F-AE15-7FBF60FCE936@ukgb.net \
    --to=kengroups@ukgb.net \
    --cc=autofs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).