mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-07-05 01:08:39 +00:00
Compare commits
2 Commits
c13bba84b6
...
f45f560368
Author | SHA1 | Date | |
---|---|---|---|
|
f45f560368 | ||
|
81c2271311 |
|
@ -160,6 +160,11 @@ bool Proc_Partitions_Info::is_whole_disk_device_name(const Glib::ustring& name)
|
||||||
if (Utils::regexp_label(name, "^(bcache[0-9]+)$") != "")
|
if (Utils::regexp_label(name, "^(bcache[0-9]+)$") != "")
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
// Match Network Block Device names.
|
||||||
|
// E.g.: device = nbd0 (partition = nbd0p1)
|
||||||
|
if (Utils::regexp_label(name, "^(nbd[0-9]+)$") != "")
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user