我知道如果路径有空格,可以使用\040对其进行编码:
路径示例:
“//服务器/带空格的文件夹”
fstab 条目:
//server/folder\040with\040spaces /mnt/share/folder_local cifs nofail,credentials=/root/.credfile 0 0
但是,如果您的路径包含非英语字符为'ñ' ,如何填写 fstab ?
路径示例:
"//server/folderWith-ñ-char"
我试过了:
fstab 条目:
//server/folderWith-\F1-char /mnt/share/folder_local cifs nofail,credentials=/root/.credfile 0 0
基于: https ://www.degraeve.com/reference/urlencoding.php
但我得到了错误:
mount -a
mount error(2): No such file or directory