Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2010 19:33:37 +0000
From:      krad <kraduk@googlemail.com>
To:        Jeff Laine <wtf.jlaine@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fstab syntax
Message-ID:  <d36406631001301133h3860606fhd6510eaed366e68d@mail.gmail.com>
In-Reply-To: <20100130190543.GA16205@free.bsd.loc>
References:  <20100130190543.GA16205@free.bsd.loc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 January 2010 19:05, Jeff Laine <wtf.jlaine@gmail.com> wrote:

> Hello,
>
> My question is regarding /etc/fstab synax.
> How can I use spaces and quote symbols in my device name?
> I tried to use double quotes and backslash, but no luck so far.
> I.e. I'd like to put the following line:
>
> /dev/msdosfs/MY FLASH /mnt/flash msdosfs rw,noauto 0 0
>
> Any ideas?
>
>
> --
> Best regards,
> Jeff
>
> | "Nobody wants to say how this works.  |
> |  Maybe nobody knows ..."              |
> |                       Xorg.conf(5)    |
>
> _______________________________________________
> 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"
>

/dev/msdosfs/MY\ FLASH /mnt/flash msdosfs rw,noauto 0 0

or

"/dev/msdosfs/MY FLASH" /mnt/flash msdosfs rw,noauto 0 0

should work, but i guess you tried these?

The alternative way would be to use the UUID of the drive, as that wont have
spaces in, and is more versatile than /dev/das1a type syntax



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