Changeset 60011 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Mar 14, 2016 8:22:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r58957 r60011 1661 1661 /* Refer to the correct partition and use offset 0. */ 1662 1662 char *psz; 1663 #if defined(RT_OS_LINUX) 1664 /* 1665 * Check whether raw disk points to a nvme disk, the naming scheme 1666 * is slightly different there. 1667 */ 1668 if (rawdisk.startsWith("/dev/nvme")) 1669 RTStrAPrintf(&psz, 1670 "%sp%u", 1671 rawdisk.c_str(), 1672 partitions.aPartitions[i].uIndex); 1673 else 1674 RTStrAPrintf(&psz, 1675 "%s%u", 1676 rawdisk.c_str(), 1677 partitions.aPartitions[i].uIndex); 1678 #elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) 1663 1679 RTStrAPrintf(&psz, 1664 #if defined(RT_OS_LINUX)1665 "%s%u",1666 #elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)1667 1680 "%ss%u", 1668 #endif1669 1681 rawdisk.c_str(), 1670 1682 partitions.aPartitions[i].uIndex); 1683 #endif 1671 1684 if (!psz) 1672 1685 {
Note:
See TracChangeset
for help on using the changeset viewer.