|
|
@ -218,11 +218,11 @@ bool |
|
|
_valid_fs_type(const fs::path &path_, |
|
|
_valid_fs_type(const fs::path &path_, |
|
|
const std::string &type_) |
|
|
const std::string &type_) |
|
|
{ |
|
|
{ |
|
|
if(not (str::startswith(path_,"/mnt") or |
|
|
|
|
|
str::startswith(path_,"/media") or |
|
|
|
|
|
str::startswith(path_,"/opt") or |
|
|
|
|
|
str::startswith(path_,"/tmp") or |
|
|
|
|
|
str::startswith(path_,"/srv"))) |
|
|
|
|
|
|
|
|
if(not (str::startswith(path_,"/mnt/") or |
|
|
|
|
|
str::startswith(path_,"/media/") or |
|
|
|
|
|
str::startswith(path_,"/opt/") or |
|
|
|
|
|
str::startswith(path_,"/tmp/") or |
|
|
|
|
|
str::startswith(path_,"/srv/"))) |
|
|
return false; |
|
|
return false; |
|
|
|
|
|
|
|
|
IERT("ext2"); |
|
|
IERT("ext2"); |
|
|
|