Re: fstab syntax

2010-01-31 Thread Polytropon
On Sun, 31 Jan 2010 00:35:02 +0200, Elias Chrysocheris 
elias...@cha.forthnet.gr wrote:
 Unfortunatelly, spaces are not allowed in fstab syntax.

Fortunately. :-)



Allow me a little sidenote about correct terminology:

 I also have tried it 
 before and figured out that there is no way to insert spaces in a folder or 
 device name.

Those are called directories, not folders.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fstab syntax

2010-01-30 Thread Jeff Laine
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-unsubscr...@freebsd.org


Re: fstab syntax

2010-01-30 Thread krad
On 30 January 2010 19:05, Jeff Laine wtf.jla...@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-unsubscr...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fstab syntax

2010-01-30 Thread Jerry
On Sat, 30 Jan 2010 22:05:43 +0300
Jeff Laine wtf.jla...@gmail.com articulated:

 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

As far as I know, that cannot be done. I saw something about that
here awhile ago. Perhaps, a patch has been submitted that will modify
its behavior by now.

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

Don't try to outweird me, three-eyes.  I get stranger things than you
free with my breakfast cereal.

Zaphod Beeblebrox

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


Re: fstab syntax

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


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


Re: fstab syntax

2010-01-30 Thread Elias Chrysocheris
On Saturday 30 of January 2010 21:05:43 Jeff Laine 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?
 
Unfortunatelly, spaces are not allowed in fstab syntax. I also have tried it 
before and figured out that there is no way to insert spaces in a folder or 
device name.

Elias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org