hi, i wanna mount a disk with spaces in its name using automount "smbmount //server/"Shared Folder" mount-point" work fine but the following line in autofs config file doesnt do the job for me shared -fstype=smbfs,guest //server/"Shared Folder" neither this line shared -fstype=smbfs,guest //server/shared folder How can i mount this using autofs .... thanx vivek
try //server/shared\ folder i.e. escape the space with a backslash character HTH At 09:45 PM 1/14/02 +0530, you wrote:>hi, > >i wanna mount a disk with spaces in its name using automount > >"smbmount //server/"Shared Folder" mount-point" work fine > >but the following line in autofs config file doesnt do the job for me > >shared -fstype=smbfs,guest //server/"Shared Folder" >neither this line >shared -fstype=smbfs,guest //server/shared folder > >How can i mount this using autofs .... > >thanx >vivek > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba=============Martyn Ranyard
Knowing nothing about this, I would try various escape codes, like: \"Shared folder\", or 'Shared folder' or '"'Shared folder'"', and so on. I would also look at the logs to see what samba is trying to mount. Joel On Mon, Jan 14, 2002 at 09:45:23PM +0530, Vivek Malik wrote:> hi, > > i wanna mount a disk with spaces in its name using automount > > "smbmount //server/"Shared Folder" mount-point" work fine > > but the following line in autofs config file doesnt do the job for me > > shared -fstype=smbfs,guest //server/"Shared Folder" > neither this line > shared -fstype=smbfs,guest //server/shared folder > > How can i mount this using autofs .... > > thanx > vivek > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
On Mon, 14 Jan 2002, Vivek Malik wrote:> hi, > > i wanna mount a disk with spaces in its name using automount > > "smbmount //server/"Shared Folder" mount-point" work fine > > but the following line in autofs config file doesnt do the job for me > > shared -fstype=smbfs,guest //server/"Shared Folder" > neither this line > shared -fstype=smbfs,guest //server/shared folder > > How can i mount this using autofs ....It's a known problem with (linux) autofs. AFAIK there are no escape sequences that work with the autofs maps. I believe that they can be fixed without too much effort, but you may want to check that on the autofs mailinglist. (and be sure to tell them the version number of autofs) I guess most people use nfs with autofs, and unix people tend not to name things "with space" ... :) /Urban