␉␉␉part = line[skipwhite]-'0';␊ |
␉␉␉partInfo.disk(disk);␊ |
␉␉␉partInfo.partition(part);␊ |
␉␉␉␊ |
␉␉␉std::string diskLabel(trim_label(label)); ␊ |
␉␉␉strcpy(label, diskLabel.c_str());␊ |
␉␉␉partInfo.label(checkForRename(label, partInfo.toHdStr().c_str()));␊ |
␉␉␉␊ |
␉␉␉std::replace(fsType, fsType+strlen(fsType), '_', ' ' );␊ |
␉␉␉partInfo.fsType(fsType);␊ |
␉␉␉std::string diskLabel(trim(label)); ␊ |
␉␉␉␊ |
␉␉␉if (diskLabel=="" && partInfo.fsType()!="EFI" && partInfo.fsType()!="Apple partition map") {␊ |
␉␉␉␊ |
␉␉␉if (diskLabel=="" && partInfo.fsType()!="EFI" && partInfo.fsType()!="Apple partition map" && partInfo.fsType()!="FDisk partition scheme" && partInfo.fsType()!="GUID partition scheme") {␊ |
␉␉␉␉diskLabel="Untitled";␊ |
␉␉␉}␊ |
␉␉␉bool found=false;␊ |