|
@@ -650,7 +650,15 @@
|
|
var diskID = thisDisk["name"];
|
|
var diskID = thisDisk["name"];
|
|
if (thisDisk["children"] === undefined || thisDisk["children"] === null){
|
|
if (thisDisk["children"] === undefined || thisDisk["children"] === null){
|
|
//This disk do not have any child. Assume a large read-only raw partition.
|
|
//This disk do not have any child. Assume a large read-only raw partition.
|
|
- disks[diskID] = {"partitionsTotalSize":0,"partitionNames":["Hotplug"],"partitionID":["✖"],"partitionVolume":[0],"Type":[thisPart["type"]],"Mounted":[thisPart["mountpoint"] !== null],"Format":[""]};
|
|
|
|
|
|
+ disks[diskID] = {
|
|
|
|
+ "partitionsTotalSize":0,
|
|
|
|
+ "partitionNames":["Hotplug"],
|
|
|
|
+ "partitionID":["✖"],
|
|
|
|
+ "partitionVolume":[0],
|
|
|
|
+ "Type":[thisDisk["type"]],
|
|
|
|
+ "Mounted":[thisDisk["mountpoint"] !== null],
|
|
|
|
+ "Format":[""]
|
|
|
|
+ };
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
for (var j =0; j < thisDisk["children"].length;j++){
|
|
for (var j =0; j < thisDisk["children"].length;j++){
|