|
|
@ -123,9 +123,8 @@ public class diskUsage {
|
|
|
|
// some kind of *nix
|
|
|
|
// some kind of *nix
|
|
|
|
if (usedOS <= UNIX_END) {
|
|
|
|
if (usedOS <= UNIX_END) {
|
|
|
|
dfUnix (true);
|
|
|
|
dfUnix (true);
|
|
|
|
for (int i = 0; i < allMountPoints.size(); i++){
|
|
|
|
for (int i = 0; i < allMountPoints.size(); i++)
|
|
|
|
usedVolumes.add(false);
|
|
|
|
usedVolumes.add(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkVolumesInUseUnix ("DATA");
|
|
|
|
checkVolumesInUseUnix ("DATA");
|
|
|
|
checkMapedSubDirs ();
|
|
|
|
checkMapedSubDirs ();
|
|
|
@ -141,6 +140,8 @@ public class diskUsage {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
checkWindowsCommandVersion();
|
|
|
|
checkWindowsCommandVersion();
|
|
|
|
getAllVolumesWindows ();
|
|
|
|
getAllVolumesWindows ();
|
|
|
|
|
|
|
|
for (int i = 0; i < allVolumes.size(); i++)
|
|
|
|
|
|
|
|
usedVolumes.add(false);
|
|
|
|
checkStartVolume();
|
|
|
|
checkStartVolume();
|
|
|
|
checkMapedSubDirs ();
|
|
|
|
checkMapedSubDirs ();
|
|
|
|
for (int i = 0; i < allVolumes.size(); i++){
|
|
|
|
for (int i = 0; i < allVolumes.size(); i++){
|
|
|
@ -368,7 +369,7 @@ nextLine:
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
int index = -1;
|
|
|
|
int index = -1;
|
|
|
|
try { index = allVolumes.indexOf(path.substring(0, 1)); } catch (IndexOutOfBoundsException e) { return; }
|
|
|
|
try { index = usedVolumes.indexOf(path.substring(0, 1)); } catch (IndexOutOfBoundsException e) { return; }
|
|
|
|
if (index > -1)
|
|
|
|
if (index > -1)
|
|
|
|
usedVolumes.set(index, true);
|
|
|
|
usedVolumes.set(index, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|