/etc/fstab + embedded spaces

Adam Vande More amvandemore at gmail.com
Tue Nov 3 20:07:38 UTC 2009


On Tue, Nov 3, 2009 at 2:02 PM, andrew clarke <mail at ozzmosis.com> wrote:

> On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel_ny at hotmail.com)
> wrote:
>
> > I was attempting to create this entry in the /etc/fstab file. It is to
> > a WinXP machine.
> >
> > //user at 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 at bios/My Documents"
> /laptop
>
> or similar.
>
> Regards
> Andrew
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

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


-- 
Adam Vande More


More information about the freebsd-questions mailing list