[Bug 1517] mount does not use the provided filesystem handler table functions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon May 17 03:54:58 CDT 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1517





--- Comment #5 from Chris Johns <chrisj at rtems.org>  2010-05-17 03:54:57 ---
I am not sure this is a bug. It maybe depending on the view you take to the
mount call interface.

The mount command does not set the handlers it is passed into the file system
info struct. Mount calls the mount me handler in the ops table passed and that
is all. The mount me call to initialise the file system fills in the entries
including the handlers. Doing this is robust and I see no reason to change it.

Should mount be changed to not take the ops table ? It would remove the
impression mount uses the ops table.

I say we should change mount. We could bring the mount call inline with other
operating system where the file system type is a string and the mount command
can use a table driven by condefs.h that contains the file systems embedded in
the target. As well we could add the arguments parameter to the mount me call
and allow run time parameters to be added to file systems.

The test code would need to mount the file system then NULL the entries it
wishes to test around.

Comments ?

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the rtems-bugs mailing list