Date: Tue, 3 Nov 2009 13:00:05 -0500 From: Jerry <gesbbb@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: /etc/fstab + embedded spaces Message-ID: <20091103130005.5ea3f832@scorpio.seibercom.net> In-Reply-To: <hcpo9s$m2e$1@ger.gmane.org> References: <BLU0-SMTP53624F939B9FDCB52DACB793B20@phx.gbl> <hcpo9s$m2e$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 03 Nov 2009 12:13:24 -0500 Michael Powell <nightrecon@hotmail.com> replied: >carmel_ny wrote: > >> I was attempting to create this entry in the /etc/fstab file. It is >> to a WinXP machine. >> >> //user@bios/My Documents /laptop smbfs rw,noauto 0 0 >> >> It fails because 'fstab' does not allow embedded spaces in device >> names, not does it allow enclosing the name in quotes. >> >> I did some Googling and discovered that I am not the only one annoyed >> by this behavior. I discovered this patch that had been submitted >> awhile ago. >> >> http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html >> >> Changing the share name is not really an option. Is there some way of >> making this work in 'fstab'? I can use the name including spaces in >> 'mount_smbfs' so that is how I am currently mounting the share. It >> just seems strange that 'fstab' by not accepting the use of quoting >> is not in step with how FreeBSD usually operates. >> > >Don't know if this works for fstab, but the normal way to escape >spaces is with a \, like this: > >//user@bios/My\ Documents /laptop smbfs rw,noauto 0 0 > >May not work in fstab but you can try it and see. Thanks for the suggestion. Unfortunately, it doesn't work either. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | The most winning woman I ever knew was hanged for poisoning three little children for their insurance money. Sherlock Holmes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091103130005.5ea3f832>