* commit '008c1ac225c1ca29f38b57203d82a63f6f85b865': Request specific tags from blkid.
This commit is contained in:
commit
0c4ce9b030
1 changed files with 6 additions and 0 deletions
|
@ -170,6 +170,12 @@ static status_t readMetadata(const std::string& path, std::string& fsType,
|
|||
cmd.push_back(kBlkidPath);
|
||||
cmd.push_back("-c");
|
||||
cmd.push_back("/dev/null");
|
||||
cmd.push_back("-s");
|
||||
cmd.push_back("TYPE");
|
||||
cmd.push_back("-s");
|
||||
cmd.push_back("UUID");
|
||||
cmd.push_back("-s");
|
||||
cmd.push_back("LABEL");
|
||||
cmd.push_back(path);
|
||||
|
||||
std::vector<std::string> output;
|
||||
|
|
Loading…
Reference in a new issue