"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Proc_Partitions_Info.cc" between
gparted-1.3.0.tar.gz and gparted-1.3.1.tar.gz

About: GParted is a graphical partition editor for creating, reorganizing, and deleting disk partitions (using GNU libparted).

Proc_Partitions_Info.cc  (gparted-1.3.0):Proc_Partitions_Info.cc  (gparted-1.3.1)
skipping to change at line 128 skipping to change at line 128
bool Proc_Partitions_Info::is_whole_disk_device_name(const Glib::ustring& name) bool Proc_Partitions_Info::is_whole_disk_device_name(const Glib::ustring& name)
{ {
// Match ordinary whole disk device names. // Match ordinary whole disk device names.
// E.g.: device = sda (partition = sda1) // E.g.: device = sda (partition = sda1)
if (Utils::regexp_label(name, "^([^0-9]+)$") != "") if (Utils::regexp_label(name, "^([^0-9]+)$") != "")
return true; return true;
// Match Linux software RAID (mdadm) device names. // Match Linux software RAID (mdadm) device names.
// E.g.: device = md127 (partition = md127p1) // E.g.: device = md127 (partition = md127p1)
if (Utils::regexp_label(name, "^(md[0-9]+)$") != "") if (Utils::regexp_label(name, "^(md[0-9]+)$") != "")
return true;
// Match SD/MMC card whole disk devices names. // Match SD/MMC card whole disk devices names.
// E.g.: device = mmcblk0 (partition = mmcblk0p1) // E.g.: device = mmcblk0 (partition = mmcblk0p1)
if (Utils::regexp_label(name, "^(md[0-9]+)$") != "") if (Utils::regexp_label(name, "^(mmcblk[0-9]+)$") != "")
return true; return true;
// Match NVME (Non-Volatile Memory Express) whole disk device names. // Match NVME (Non-Volatile Memory Express) whole disk device names.
// E.g.: device = nvme0n1 (partition = nvme0n1p1) // E.g.: device = nvme0n1 (partition = nvme0n1p1)
if (Utils::regexp_label(name, "^(nvme[0-9]+n[0-9]+)$") != "") if (Utils::regexp_label(name, "^(nvme[0-9]+n[0-9]+)$") != "")
return true; return true;
// Match hardware RAID controller whole disk device names. // Match hardware RAID controller whole disk device names.
// * HP Smart Array (linux-x.y.z/Documentation/scsi/hpsa.rst). // * HP Smart Array (linux-x.y.z/Documentation/scsi/hpsa.rst).
// E.g.: device = cciss/c0d0 (partition = cciss/c0d0p1) // E.g.: device = cciss/c0d0 (partition = cciss/c0d0p1)
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)