Changeset 2675 in vbox
- Timestamp:
- May 16, 2007 4:59:38 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
-
Property svn:keywords
changed from
Id
toAuthor Date Id Revision
r2478 r2675 30 30 VBoxManage.cpp \ 31 31 VBoxInternalManage.cpp 32 ifndef VBOX_OSE 33 VBoxManage_SOURCES += \ 34 VBoxInternalManageVmdk.cpp 35 endif 32 36 ifdef VBOX_WITH_VRDP 33 37 VBoxManage_DEFS += VBOX_VRDP -
Property svn:keywords
changed from
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r1475 r2675 47 47 #include "VBoxManage.h" 48 48 49 #ifndef VBOX_OSE 50 HRESULT CmdListPartitions(int argc, char **argv, ComPtr<IVirtualBox> aVirtualBox, ComPtr<ISession> aSession); 51 HRESULT CmdCreateRawVMDK(int argc, char **argv, ComPtr<IVirtualBox> aVirtualBox, ComPtr<ISession> aSession); 52 #endif /* !VBOX_OSE */ 53 49 54 using namespace com; 50 55 … … 61 66 "Commands:\n" 62 67 "\n" 63 "%s%s%s "68 "%s%s%s%s%s" 64 69 "WARNING: This is a development tool and shall only be used to analyse\n" 65 70 " problems. It is completely unsupported and will change in\n" … … 81 86 " Assigns a new UUID to the given VDI file. This way, multiple copies\n" 82 87 " of VDI containers can be registered.\n" 88 "\n" 89 : "", 90 (u64Cmd & USAGE_LISTPARTITIONS) ? 91 " listpartitions -rawdisk <diskname>\n" 92 " Lists all partitions on <diskname>.\n" 93 "\n" 94 : "", 95 (u64Cmd & USAGE_CREATERAWVMDK) ? 96 " createrawvmdk -filename <filename> -rawdisk <diskname>\n" 97 " [-partitions <list of partition numbers>]\n" 98 " [-register]\n" 99 " Creates a new VMDK image which gives access to an entite host disk or\n" 100 " some partitions of a host disk. The diskname is on Linux e.g. /dev/sda,\n" 101 " and on Windows e.g. \\\\.\\PhysicalDisk0).\n" 102 " Optionally the created image can be immediately registered.\n" 103 " The necessary partition numbers can be queried with\n" 104 " VBoxManage internalcommands listpartitions\n" 83 105 "\n" 84 106 : "" … … 392 414 if (!strcmp(pszCmd, "setvdiuuid")) 393 415 return handleSetVDIUUID(argc - 1, &argv[1], aVirtualBox, aSession); 416 #ifndef VBOX_OSE 417 if (!strcmp(pszCmd, "listpartitions")) 418 return CmdListPartitions(argc - 1, &argv[1], aVirtualBox, aSession); 419 if (!strcmp(pszCmd, "createrawvmdk")) 420 return CmdCreateRawVMDK(argc - 1, &argv[1], aVirtualBox, aSession); 421 #endif /* !VBOX_OSE */ 394 422 395 423 /* default: */ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r1489 r2675 60 60 #define USAGE_SETVDIUUID BIT64(31) 61 61 #define USAGE_CONVERTDD BIT64(32) 62 #ifdef VBOX_OSE 63 #define USAGE_LISTPARTITIONS (0) 64 #define USAGE_CREATERAWVMDK (0) 65 #else /* !VBOX_OSE */ 66 #define USAGE_LISTPARTITIONS BIT64(34) 67 #define USAGE_CREATERAWVMDK BIT64(34) 68 #endif /* !VBOX_OSE */ 62 69 #define USAGE_ALL (~(uint64_t)0) 63 70
Note:
See TracChangeset
for help on using the changeset viewer.