fstab syntax

Jeff Laine wtf.jlaine at gmail.com
Sat Jan 30 22:23:52 UTC 2010


On Sat,30-01-2010 [19:33:37], krad wrote:
> On 30 January 2010 19:05, Jeff Laine <wtf.jlaine at 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)    |
> >
> 
> /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


Yep, neither is working. 

After all I used glabel to generate a new label and avoid reformatiing my volume.




More information about the freebsd-questions mailing list