Skip to contentSkip to conversation

Space in Samba share

DISCUSSION Robin Rosenberg 2 participants 3 messages Apr 1, 2004 – Apr 2, 2004 Kernel automounter

lore
Share & tools
lore
#0 lore raw

How can I define a mount map that contains spaces in the share name of a windows machine?

I've tried some common ways of escaping the space to no avail.

-fstype .... etc \
/local name //REMOTE/remote name

Sure I could skip the space in local name, so the real problem is the remote name.

-- robin

maintainer
#1 lore raw

What version autofs are you using.

Quoted 8 lines · Robin Rosenberg

How can I define a mount map that contains spaces in the share name of a windows machine?

I've tried some common ways of escaping the space to no avail.

-fstype .... etc \
/local name //REMOTE/remote name

Try escaping the spaces with a \.
I'm not sure if this works with autofs v3 but remember a thread that implied it worked OK with v4.

Ian

#2 lore raw
Quoted 6 lines · Ian Kent

What version autofs are you using.

Quoted 3 lines · Robin Rosenberg

How can I define a mount map that contains spaces in the share name of a windows machine?

Quoted 8 lines
Quoted 4 lines

I've tried some common ways of escaping the space to no avail.

-fstype .... etc \
/local name //REMOTE/remote name

Try escaping the spaces with a \.
I'm not sure if this works with autofs v3 but remember a thread that implied it worked OK with v4.

Hmm, it works. Thanks. (I could have sworn I had tried it but.. ) :-)

-- robin