Changeset 60025 in vbox
- Timestamp:
- Mar 15, 2016 9:28:41 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r60011 r60025 38 38 #include <VBox/log.h> 39 39 40 #include <iprt/ctype.h> 40 41 #include <iprt/file.h> 41 42 #include <iprt/getopt.h> … … 1663 1664 #if defined(RT_OS_LINUX) 1664 1665 /* 1665 * Check whether raw disk points to a nvme disk, the naming scheme 1666 * is slightly different there. 1666 * Check whether raw disk ends with a digit. In that case 1667 * insert a p before adding the partition number. 1668 * This is used for nvme devices only currently which look like 1669 * /dev/nvme0n1p1 but might be extended to other devices in the 1670 * future. 1667 1671 */ 1668 if (rawdisk.startsWith("/dev/nvme")) 1672 size_t cchRawDisk = rawdisk.length(); 1673 if (RT_C_IS_DIGIT(pszRawName[cchRawDisk - 1])) 1669 1674 RTStrAPrintf(&psz, 1670 1675 "%sp%u",
Note:
See TracChangeset
for help on using the changeset viewer.