Added helper function get_default_partition_content_name() that can be

used by file systems to get a useful name, if the file system (or just
that specific volume) doesn't have one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26403 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-07-13 12:50:35 +00:00
parent 64789466f1
commit f9f2d81621
2 changed files with 38 additions and 0 deletions
+6
View File
@@ -114,6 +114,12 @@ status_t scan_partition(partition_id partitionID);
// Service method for disks systems: Synchronously scans the partition.
// Device must not be locked.
// partition support functions
// (no lock required)
status_t get_default_partition_content_name(partition_id partitionID,
const char* fileSystemName, char* buffer, size_t bufferSize);
// The partition_data::content_size field must already be initialized.
// disk systems
disk_system_id find_disk_system(const char *name);