On Sun, 19 Sep 1999, H. Peter Anvin wrote:

> Roy Stogner wrote:
> > 
> > Trying to escape whitespace in the share names doesn't work either.
> > 
> > Anyway, as best as I can figure out, there is no way to escape spaces
> > in the autofs map files.  Before anyone asks, giving the servers
> > different netbios names and/or different share names isn't an option
> > in most cases.
> > 
> > Any help?  I'm working on implementing the equivalent of a /net
> > directory for browsing SMB shares, and this is my last obstacle.
> 
> Until someone creates and distributes a real mount.smbfs which uses
> standard syntax, I refuse to touch smbfs again.  The way it has been
> handled is just way too broken.

Curious - does autofs call the mount program, or use the mount()
system call?  The mount program works fine on systems with recent
samba versions - "mount -t smbfs //server/share /mount/point" works
fine.  The mount() system call still requires a wierd data structure
argument.

This isn't an smbfs problem, though, it's a config file parsing
problem.  If I wanted to mount a local device file, mount an nfs
share, or use a local mount point with whitespace in the name, it
would break in just the same fashion.  It's just only a problem with
smbfs because nobody except Windows users habitually puts white space
in directory names...
---
Roy Stogner

Reply via email to