From owner-freebsd-questions Wed Jan 8 8:15:26 2003 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 463BA37B401 for ; Wed, 8 Jan 2003 08:15:25 -0800 (PST) Received: from smtp.hispeed.ch (isp247n.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B9E43EE6 for ; Wed, 8 Jan 2003 08:15:24 -0800 (PST) (envelope-from locus@hispeed.ch) Received: from rock.stable.ch (dclient217-162-34-199.hispeed.ch [217.162.34.199]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id h08GFLgX001544 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 8 Jan 2003 17:15:22 +0100 Received: from locus by rock.stable.ch with local (Exim 3.33 #1) id 18WIrR-00003L-00 for freebsd-questions@FreeBSD.ORG; Wed, 08 Jan 2003 17:15:21 +0100 Date: Wed, 8 Jan 2003 17:15:21 +0100 From: Thomas Spreng To: freebsd-questions@freebsd.org Subject: Re: entering smbfs shares with spaces in name in fstab Message-ID: <20030108161521.GA99872@rock.stable.ch> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <1042037002.72844.6.camel@d80h149.public.uconn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1042037002.72844.6.camel@d80h149.public.uconn.edu> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, you might try writing your space character as an ascii escape sequence (\040). bye, Tom On Wed, Jan 08, 2003 at 09:43:22AM -0500, Matt Smith wrote: > I am looking to make an entry in my fstab for an smb file share that has > a space in the name. > > > > //Account@NBName/MY SHARE /mntpoint smbfs > rw,noauto,-W=AccountDomain,-I=RealName.My.Domain.Edu 0 0 > > > > I have tried many variations on the share name using double-quotes, > single-quotes, "\ ", with no success. > > >mount /mntpoint > fstab: /etc/fstab:17: Inappropriate file type or format > fstab: /etc/fstab:17: Inappropriate file type or format > mount: /mntpoint: unknown special file or file system > > mount is parsing the fstab and using the space in the share name as a > delimiter. > > Any ideas how I can make this entry in my fstab? Unfortunately, > renaming my share is NOT an option. > > Thanks all, > -Matt > > > -- > Matt Smith > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message