From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 13:47:58 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14AB816A4CF; Mon, 31 Jan 2005 13:47:58 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDBA43D46; Mon, 31 Jan 2005 13:47:56 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j0VDlrYs012161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Jan 2005 05:47:54 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j0VDlrkh012159; Mon, 31 Jan 2005 05:47:53 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Mon, 31 Jan 2005 05:47:53 -0800 From: "Loren M. Lang" To: Mark Ovens Message-ID: <20050131134753.GE8619@alzatex.com> References: <20050131120623.GA10752@alzatex.com> <41FE26DD.3020002@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41FE26DD.3020002@freebsd.org> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: "Loren M. Lang" cc: FreeBSD Mailing list Subject: Re: [lorenl@alzatex.com: Re: Mounting a samba share on boot?] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 13:47:58 -0000 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@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 ;-) A random guess might be to try: //user@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. > > 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 > > -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C