Check if already mounted before mounting

This commit is contained in:
Vitaliy Filippov
2024-03-16 13:24:36 +03:00
parent 05f5f46162
commit 5b747c12ec
6 changed files with 41 additions and 15 deletions
-1
View File
@@ -132,7 +132,6 @@ void disk_tool_simple_offsets(json11::Json cfg, bool json_output);
uint64_t sscanf_json(const char *fmt, const json11::Json & str);
void fromhexstr(const std::string & from, int bytes, uint8_t *to);
std::string realpath_str(std::string path, bool nofail = true);
int disable_cache(std::string dev);
std::string get_parent_device(std::string dev);
bool json_is_true(const json11::Json & val);