Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 14:07:37 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/fstab + embedded spaces
Message-ID:  <6201873e0911031207v9aa739aq49e342009f0b0da1@mail.gmail.com>
In-Reply-To: <20091103200202.GA20480@ozzmosis.com>
References:  <BLU0-SMTP53624F939B9FDCB52DACB793B20@phx.gbl> <20091103200202.GA20480@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 3, 2009 at 2:02 PM, andrew clarke <mail@ozzmosis.com> wrote:

> On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel_ny@hotmail.com)
> 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.
>
> A workaround may be to run mount_smbfs from /etc/crontab (or perhaps
> the root user's crontab), eg.
>
> @reboot         /usr/sbin/mount_smbfs -N "//user@bios/My Documents"
> /laptop
>
> or similar.
>
> Regards
> Andrew
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>

windows path's have alternate eg c:\Test~1


-- 
Adam Vande More



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