forked from localhorst/reHDD
using now system utils instead bin_util
This commit is contained in:
@ -55,7 +55,7 @@ void reHDD::searchDrives(vector <Drive>* pvecDrives)
|
||||
char * cLine = NULL;
|
||||
size_t len = 0;
|
||||
|
||||
FILE* outputfileHwinfo = popen("./bin_util/hwinfo --short --disk", "r");
|
||||
FILE* outputfileHwinfo = popen("hwinfo --short --disk", "r");
|
||||
|
||||
if (outputfileHwinfo == NULL)
|
||||
{
|
||||
@ -120,7 +120,7 @@ void reHDD::filterIgnoredDrives(vector <Drive>* pvecDrives)
|
||||
// cout << "Same drive path found" << endl;
|
||||
char * cLine = NULL;
|
||||
size_t len = 0;
|
||||
string sCMD = "./bin_util/blkid ";
|
||||
string sCMD = "blkid ";
|
||||
sCMD.append(it->getPath());
|
||||
// cout << "cmd: " << sCMD << endl;
|
||||
FILE* outputfileBlkid = popen(sCMD.c_str(), "r"); //get UUID from drive
|
||||
|
Reference in New Issue
Block a user