From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 15:16:32 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 15F9816A4CF; Tue, 1 Feb 2005 15:16:32 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56E543D1F; Tue, 1 Feb 2005 15:16:30 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id j11FKZ85008017; Tue, 1 Feb 2005 16:20:35 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id j11FKZCh008016; Tue, 1 Feb 2005 16:20:35 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Tue, 1 Feb 2005 16:20:35 +0100 From: Ruben de Groot To: "Loren M. Lang" Message-ID: <20050201152035.GA7969@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , "Loren M. Lang" , Mark Ovens , FreeBSD Mailing list References: <20050131120623.GA10752@alzatex.com> <41FE26DD.3020002@freebsd.org> <20050131134753.GE8619@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050131134753.GE8619@alzatex.com> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-0.9 required=5.0 tests=ADDRESS_IN_SUBJECT, ALL_TRUSTED,FROM_ENDS_IN_NUMS autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on ei.bzerk.org cc: FreeBSD Mailing list cc: Mark Ovens 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: Tue, 01 Feb 2005 15:16:32 -0000 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@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. The following seems to work for me: root@ei:/root> mount_smbfs //odo/"Temp Dir" /mnt Password: root@ei:/root> mount | grep smbfs //ROOT@ODO/TEMP DIR on /mnt (smbfs) root@ei:/root> Ruben