Disk Device Manager: generate a name for nameless volumes

This will give the same result as fs_stat_dev, so the filesystems will
have the same name everywhere.

Change-Id: Ic684142efaeb2c16b393f3f3e5c9c3010a054b30
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5636
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
PulkoMandy
2022-09-21 16:14:32 +00:00
committed by Jérôme Duval
parent 74a5cb7bbc
commit e3d5904751
7 changed files with 48 additions and 16 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ public:
const char* Name() const;
status_t SetName(const char* name);
const char* ContentName() const;
BString ContentName() const;
status_t SetContentName(const char* name);
const char* Type() const;
+1 -1
View File
@@ -52,7 +52,7 @@ public:
uint32 Flags() const;
const char* Name() const;
const char* ContentName() const;
BString ContentName() const;
const char* Type() const; // See DiskDeviceTypes.h
const char* ContentType() const; // See DiskDeviceTypes.h
partition_id ID() const;