Re: fstab syntax



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


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: fstab syntax
    ... 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, ... and is more versatile than /dev/das1a type syntax ...
    (freebsd-questions)
  • fstab syntax
    ... 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, ... Best regards, ...
    (freebsd-questions)
  • Re: fstab syntax
    ... Jeff Laine articulated: ... My question is regarding /etc/fstab synax. ... How can I use spaces and quote symbols in my device name? ... I get stranger things than you ...
    (freebsd-questions)
  • Re: fstab syntax
    ... On Saturday 30 of January 2010 21:05:43 Jeff Laine wrote: ... My question is regarding /etc/fstab synax. ... How can I use spaces and quote symbols in my device name? ... before and figured out that there is no way to insert spaces in a folder or ...
    (freebsd-questions)