summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPetr Uzel <petr.uzel@suse.cz>2016-06-14 13:17:00 +0200
committerBrian C. Lane <bcl@redhat.com>2016-06-23 17:13:31 -0700
commite4ae4330f3e33201aeeed3b7ca88e15d98d03e13 (patch)
tree7037dd4134d716c7527943cdf1845c8a11a40fd7 /NEWS
parent4126d0292c75cf7d50a2f4e9d485a52b5beafccc (diff)
downloadparted-e4ae4330f3e33201aeeed3b7ca88e15d98d03e13.tar.gz
Add support for NVMe devices
Recognize NVMe Devices, so "parted -s /dev/nvme0n1" now prints "NVMe Device (nvme)" instead of "Model: Unknown (unknown)". In order for a device to be recognized as NVMe, it has to have a 'blkext' major number. But since this major can be used also by other device types, we also check the device path contains 'nvme' as a substring. * NEWS: Mention the change * include/parted/device.h.in(PedDeviceType): Add PED_DEVICE_NVME * libparted/arch/linux.c(BLKEXT_MAJOR): New define. * libparted/arch/linux.c(_is_blkext_major): New function. * libparted/arch/linux.c(_device_probe_type): Recognize NVMe devices. * libparted/arch/linux.c(linux_new): Handle NVMe devices. * parted/parted.c(do_print): Add "nvme" to list of transports. Signed-off-by: Brian C. Lane <bcl@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cf7b39c..a92825c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
GNU parted NEWS -*- outline -*-
+ Parted now recognizes NVMe devices
+
* Noteworthy changes in release ?.? (????-??-??) [?]
** Bug Fixes