* Added mapping of dup() in the FS shell.

* Adjusted the FS initialize() hook to have FD and partition_id
  parameters like the other hooks instead of the partition path.
* Adjusted initialization in BFS accordingly.
* Implemented the FS initialization method in KFileSystem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-08-02 12:43:49 +00:00
parent ba098efab7
commit 9e12e9a72e
10 changed files with 96 additions and 34 deletions
+2 -4
View File
@@ -279,10 +279,8 @@ typedef struct fssh_file_system_module_info {
const char *name, fssh_disk_job_id job);
fssh_status_t (*set_content_parameters)(int fd, fssh_partition_id partition,
const char *parameters, fssh_disk_job_id job);
fssh_status_t (*initialize)(const char *partition, const char *name,
const char *parameters, fssh_disk_job_id job);
// This is pretty close to how the hook in R5 looked. Save the job ID,
// of course and that the parameters were given as (void*, size_t) pair.
fssh_status_t (*initialize)(int fd, fssh_partition_id partition,
const char *name, const char *parameters, fssh_disk_job_id job);
} fssh_file_system_module_info;