I know that if a path has spaces one can encode it with \040:
Example for path:
"//server/folder with spaces"
fstab entry:
//server/folder\040with\040spaces /mnt/share/folder_local cifs nofail,credentials=/root/.credfile 0 0
But how to fill fstab if you have a path with non-English chars as 'ñ'?
Path example:
"//server/folderWith-ñ-char"
I've tried:
fstab entry:
//server/folderWith-\F1-char /mnt/share/folder_local cifs nofail,credentials=/root/.credfile 0 0
based on: https://www.degraeve.com/reference/urlencoding.php
but I get the error:
mount -a
mount error(2): No such file or directory
Just type
//server/folderWith-ñ-char,ñis not anyhow special.In case of problems, you can use
mnt_manglefrom linux-util. Compile this short program:Then you can use: