Added scan_partition() function which can be used by disk systems (e.g.
in *_initialize()) to save some work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22441 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -343,6 +343,8 @@
|
||||
#define delete_partition fssh_delete_partition
|
||||
#define partition_modified fssh_partition_modified
|
||||
|
||||
#define scan_partition fssh_scan_partition
|
||||
|
||||
// disk systems
|
||||
#define find_disk_system fssh_find_disk_system
|
||||
|
||||
|
||||
@@ -113,6 +113,10 @@ bool fssh_delete_partition(fssh_partition_id partitionID);
|
||||
void fssh_partition_modified(fssh_partition_id partitionID);
|
||||
// tells the disk device manager, that the parition has been modified
|
||||
|
||||
fssh_status_t fssh_scan_partition(fssh_partition_id partitionID);
|
||||
// Service method for disks systems: Synchronously scans the partition.
|
||||
// Device must not be locked.
|
||||
|
||||
// disk systems
|
||||
fssh_disk_system_id fssh_find_disk_system(const char *name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user