Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2005 12:38:53 +0000
From:      Mark Ovens <marko@freebsd.org>
To:        "Loren M. Lang" <lorenl@alzatex.com>
Cc:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: [lorenl@alzatex.com: Re: Mounting a samba share on boot?]
Message-ID:  <41FE26DD.3020002@freebsd.org>
In-Reply-To: <20050131120623.GA10752@alzatex.com>
References:  <20050131120623.GA10752@alzatex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@server/Drive C"
'//user@server/Drive C'
//user@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 ;-)

If it is not possible then perhaps a PR is needed to get this addressed? 
In my case I renamed the share on the Windows box (which broke a few 
shortcuts) but this may not always be possible - in a corporate 
environment for example.

Regards,

Mark




---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0504-4, 28/01/2005
Tested on: 31/01/2005 12:38:54
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41FE26DD.3020002>