Mounting samba share with space character from /etc/fstab

If you have a windows share with a space character in it's name, e.g. something like \\server\my share, to properly mount it from /etc/fstab you need to use the octal code instead of a space character. Otherwise parsing /etc/fstab would produce an error, because space character is a delimiter.

The octal code for space character is \040 (don't forget the leading zero!), so you'd put //server/my\040share in the /etc/fstab for the example above.

If you have any other special character in a windows share name, you can use the same technique. Just use the appropriate octal code, of course.