am 008c1ac2: am eddf9bd6: Request specific tags from blkid.

* commit '008c1ac225c1ca29f38b57203d82a63f6f85b865':
  Request specific tags from blkid.
This commit is contained in:
Jeff Sharkey 2015-08-13 00:15:51 +00:00 committed by Android Git Automerger
commit 0c4ce9b030

View file

@ -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;