mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-07-02 15:58:47 +00:00
Compare commits
3 Commits
f45f560368
...
c13bba84b6
Author | SHA1 | Date | |
---|---|---|---|
|
c13bba84b6 | ||
|
6588ff7835 | ||
|
81c2271311 |
|
@ -26,6 +26,7 @@ gd
|
|||
gl
|
||||
gu
|
||||
he
|
||||
hi
|
||||
hr
|
||||
hu
|
||||
id
|
||||
|
|
|
@ -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]+)$") != "")
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user