Home | History | Annotate | Download | only in gptfdisk

Lines Matching full:problems

164 // Perform detailed verification, reporting on any problems found, but
165 // do *NOT* recover from these problems. Returns the total number of
166 // problems identified.
168 int problems = 0, alignProbs = 0;
174 problems++;
178 << "alarm if you've already corrected other problems.\n";
181 problems++;
185 << "corrected other problems.\n";
188 problems++;
192 << "alarm if you've already corrected other problems.\n";
195 problems++;
203 problems++;
206 << "problems. Think carefully before saving changes with 'w' or using this disk.\n";
210 problems++;
219 problems++;
225 problems++;
232 problems++;
238 problems++;
245 problems++;
253 problems++;
260 problems++;
269 // Now check for a few other miscellaneous problems...
272 problems++;
280 problems++;
288 problems += FindOverlaps();
291 problems += FindInsanePartitions();
294 problems += FindHybridMismatches();
296 // Check for MBR-specific problems....
297 problems += VerifyMBR();
309 problems += CheckGPTSize();
314 problems++;
331 // Now compute available space, but only if no problems found, since
332 // problems could affect the results
333 if (problems == 0) {
335 cout << "\nNo problems found. " << totalFree << " free sectors ("
341 cout << "\nIdentified " << problems << " problems!\n";
344 return (problems);
348 // do, issues a warning but takes no action. Returns number of problems
349 // detected (0 if OK, 1 to 2 if problems).
625 int problems = 0;
632 problems++;
641 return problems;
648 // Returns number of problems found.
651 int problems = 0;
656 problems++;
660 problems++;
665 return problems;
801 // succeeded, 0 if there are obvious problems....
884 // Check for valid CRCs and warn if there are problems
1043 << "header, but other problems may occur!\n";
1063 cout << "Have not corrected the problem. Strange problems may occur in the future!\n";
1078 cout << "Have not corrected the problem. Strange problems may occur in the future!\n";
1286 // signatures and version numbers; more subtle problems will elude
1297 << "Adjusting sizes to match, but subsequent problems are possible!\n";
1637 // problems.
1700 // partition table, which causes problems when loading data from a RAID
1781 int retval = 1; // assume there'll be no problems
1829 // specified device. Returns 1 if OK, 0 if there were problems.
1923 // successful completion, 0 if there were problems (invalid