"Simon Conrad-Armes,,," wrote:
> 
> Hello Autofs Developers,
> 
> Here is a small patch i fixed up while trying to make autofs mount smb
> shares. It fixes two things:
> 
>   * autofs inability to recognize smb //server/share references (by
> Nicholas J. Leon <[EMAIL PROTECTED]>)
>   * Escaping whitespaces in the entry core
> 
> I hope this will be of some use. Certainly I can now make automounts to
> shares with spaces in their names with smbfs 2.0.7 and autofs 3.1.4.
> 

I strongly dislike this code being in mount_generic, since it means some
filesystems are going to be parsed differently than others, which is of
course ridiculous.

The multientry part of your patch is user error - you're supposed to put
a : before any path that isn't of the form host:/path (i.e.
://server/share); this is the way Sun maps work and nothing I can do
anything about.

\-escaping is a good idea, though, but your implementation is flawed; it
needs to be strictly inside parse_sun.c

        -hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

Reply via email to