Regarding Filesystem Handler Table Functions
bharath.s.jois at gmail.com
Thu May 13 13:53:04 UTC 2010
I am right now facing some difficulty wrt Filesystem Handler functions.
Following is the setup.
/imfs exists, /tmp/test exists
A filesystem is mounted at /imfs, with the
rtems_filesystem_operations_table argument mostly same as IMFS_ops,
except that the evalformake_h = NULL and rename_h = NULL.
/imfs/test is created.
When node info ( rtems_filesystem_location_info_t) of /tmp/test is
seen, mt_entry is that of the root file system and ops is the IMFS_ops
When node info ( rtems_filesystem_location_info_t) of /imfs/test is
seen, mt_entry is that of the new file system mounted, but ops is
IMFS_ops, instead of the modified one.
I am assuming that the ops should be the modified one, which was
provided during the mount.
Mount operation was performed in the below manner:
rtems_filesystem_operations_table IMFS_ops_no_evalformake = IMFS_ops;
IMFS_ops_no_evalformake.evalformake_h = NULL;
RTEMS_FILESYSTEM_READ_WRITE, NULL, "/imfs");
Please let me know if the assumption is wrong or about any mistakes in
the procedure I am following.
More information about the users