Loading modules/filesystems/filesystems.cpp +10 −1 Changes for modules/filesystems/filesystems.cpp: 10 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -725,7 +725,16 @@ json_object *mount(json_object *a) { // UUID= stays right when device names change m.what = !v->fs.uuid.empty() ? "UUID=" + v->fs.uuid : v->path; m.where = where; m.type = v->fs.type; std::string fstype = v->fs.type; if (fstype == "ntfs" || fstype == "ntfs3") { fstype = "ntfs3"; if (options == "defaults" || options.empty()) { options = "defaults,uid=0,gid=0,iocharset=utf8"; } } m.type = fstype; m.options = options; m.description = v->path + (v->fs.label.empty() ? "" : " (" + v->fs.label + ")"); std::string unit; Loading Loading
modules/filesystems/filesystems.cpp +10 −1 Changes for modules/filesystems/filesystems.cpp: 10 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -725,7 +725,16 @@ json_object *mount(json_object *a) { // UUID= stays right when device names change m.what = !v->fs.uuid.empty() ? "UUID=" + v->fs.uuid : v->path; m.where = where; m.type = v->fs.type; std::string fstype = v->fs.type; if (fstype == "ntfs" || fstype == "ntfs3") { fstype = "ntfs3"; if (options == "defaults" || options.empty()) { options = "defaults,uid=0,gid=0,iocharset=utf8"; } } m.type = fstype; m.options = options; m.description = v->path + (v->fs.label.empty() ? "" : " (" + v->fs.label + ")"); std::string unit; Loading