1. 程式人生 > >Ubuntu在fstab中設定的掛載路徑出現空格space

Ubuntu在fstab中設定的掛載路徑出現空格space

常用的加單引號、雙引號,以及 反斜槓空格都會報錯:parse error: ignore entry
解決方案:使用\040替代空格,成功掛載。一個entry樣例如下:

UUID=<YourUUID> /media/<name>/The\040D  ntfs    defaults    0   0