- Timestamp:
- Mar 10, 2009 11:55:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r17402 r17654 833 833 RTPrintf("Current size on disk: %llu MBytes\n", actualSize >> 20); 834 834 835 ComPtr <IHardDisk> parent; 836 hardDisk->COMGETTER(Parent) (parent.asOutParam()); 837 835 838 HardDiskType_T type; 836 839 hardDisk->COMGETTER(Type)(&type); … … 839 842 { 840 843 case HardDiskType_Normal: 841 typeStr = "normal"; 844 if (!parent.isNull()) 845 typeStr = "normal (differencing)"; 846 else 847 typeStr = "normal (base)"; 842 848 break; 843 849 case HardDiskType_Immutable: … … 871 877 } 872 878 /// @todo NEWMEDIA check usage in snapshots too 873 /// @todo NEWMEDIA also list children and say 'differencing' for 874 /// hard disks with the parent or 'base' otherwise. 879 /// @todo NEWMEDIA also list children 875 880 } 876 881 … … 878 883 hardDisk->COMGETTER(Location)(loc.asOutParam()); 879 884 RTPrintf("Location: %lS\n", loc.raw()); 885 886 /* print out information specific for differencing hard disks */ 887 if (!parent.isNull()) 888 { 889 BOOL autoReset = FALSE; 890 hardDisk->COMGETTER(AutoReset)(&autoReset); 891 RTPrintf("Auto-Reset: %s\n", autoReset ? "on" : "off"); 892 } 880 893 } 881 894 while (0);
Note:
See TracChangeset
for help on using the changeset viewer.