Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2003 17:15:21 +0100
From:      Thomas Spreng <spreng@socket.ch>
To:        freebsd-questions@freebsd.org
Subject:   Re: entering smbfs shares with spaces in name in fstab
Message-ID:  <20030108161521.GA99872@rock.stable.ch>
In-Reply-To: <1042037002.72844.6.camel@d80h149.public.uconn.edu>
References:  <1042037002.72844.6.camel@d80h149.public.uconn.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
> 
> <snip one line from fstab>
> 
> //Account@NBName/MY SHARE  /mntpoint        smbfs
> rw,noauto,-W=AccountDomain,-I=RealName.My.Domain.Edu     0 0
> 
> </end snip>
> 
> 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 <matt@forsetti.com>
> 
> 
> 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




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