From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 12:39:36 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 2F74B16A4CF for ; Mon, 31 Jan 2005 12:39:36 +0000 (GMT) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE04C43D1D for ; Mon, 31 Jan 2005 12:39:35 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from [80.229.231.20] (helo=postbag.localdomain) by ptb-relay02.plus.net with esmtp (Exim) id 1Cvaq5-000K9M-My; Mon, 31 Jan 2005 12:39:33 +0000 Received: from [127.0.0.1] (red-shift [192.168.1.3]) by postbag.localdomain (Postfix) with ESMTP id 6CBB462; Mon, 31 Jan 2005 12:43:40 +0000 (GMT) Message-ID: <41FE26DD.3020002@freebsd.org> Date: Mon, 31 Jan 2005 12:38:53 +0000 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (Windows/20050113) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Loren M. Lang" References: <20050131120623.GA10752@alzatex.com> In-Reply-To: <20050131120623.GA10752@alzatex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0504-4, 28/01/2005), Outbound message X-Antivirus-Status: Clean 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 12:39:36 -0000 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