[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lorenl@alzatex.com: Re: Mounting a samba share on boot?]
- Subject: [lorenl@alzatex.com: Re: Mounting a samba share on boot?]
- From: mail25 at bzerk.org (Ruben de Groot)
- Date: Tue Feb 1 07:16:34 2005
On Mon, Jan 31, 2005 at 05:47:53AM -0800, Loren M. Lang typed:
> On Mon, Jan 31, 2005 at 12:38:53PM +0000, Mark Ovens wrote:
> > Loren M. Lang wrote:
> > >replacing MYWORKGROUP, SERVER, USER, secret as neccessary. Make sure
> > >nsmb.conf is only readable by root. Add the following line to fstab:
> > >
> > >//user_(_at_)_server/share /mnt/share smbfs rw 0 0
> > >
> >
> > PMJI, but do you know if it's possible to handle a share name containing
> > a space when mounting smb filesystems using fstab?
> >
> > I tried
> >
> > "//user_(_at_)_server/Drive C"
> > '//user_(_at_)_server/Drive C'
> > //user_(_at_)_server/Drive\ C
> >
> > None of these worked. I know that using spaces in filenames is a Bad
> > Idea, but this is Windows we're talking about here ;-)
>
> A random guess might be to try: //user_(_at_)_server/Driver%20C
> %20 refers to the ascii character with hex value 20 which is space.
> It's what webservers use for getting around spaces, samba might too.`
> I'd be really curious to see if this works.
The following seems to work for me:
root_(_at_)_ei:/root> mount_smbfs //odo/"Temp Dir" /mnt
Password:
root_(_at_)_ei:/root> mount | grep smbfs
//ROOT_(_at_)_ODO/TEMP DIR on /mnt (smbfs)
root_(_at_)_ei:/root>
Ruben
Visit your host, monkey.org