Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 01:23:42 +0300
From:      Jeff Laine <wtf.jlaine@gmail.com>
To:        krad <kraduk@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fstab syntax
Message-ID:  <20100130222341.GA17449@free.bsd.loc>
In-Reply-To: <d36406631001301133h3860606fhd6510eaed366e68d@mail.gmail.com>
References:  <20100130190543.GA16205@free.bsd.loc> <d36406631001301133h3860606fhd6510eaed366e68d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat,30-01-2010 [19:33:37], krad wrote:
> 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)    |
> >
> 
> /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.





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