[Bug 1521] Change mount to be like the Linux mount.

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu May 20 03:33:36 UTC 2010


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


Chris Johns <chrisj at rtems.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #2 from Chris Johns <chrisj at rtems.org>  2010-05-19 22:33:34 ---
I hope Till provides some feedback, even if it is a nod.

Yes available file systems vs the initial mount table is being handled in
confdefs.h, and yes I am dealing with all file systems in RTEMS. This includes
TFTPFS and FTPFS. You can define which file systems you want and you can
provide custom initialisation handlers and override the default one for any
file system. For example your tester that plays with the ops table would
provide a new initialise handler for the IMFS and your test code would just
call the default one then modify the results on return depending on what it is
doing. I am also providing the ability to add file systems at run time to the
list to allow development and dynamic loading.

I am not touching the initial mount table with this change. I will wait for the
results of the Sequenced Initialisation GSoC project and 4.11. In time we
should be able handle any libblock devices as well, ie RFS as a root file
system. The code will need to be changed to manage the lack of the /dev
directory. This specific catch-22 will need to be figured out then. I will also
need to see how the Sequenced Init project finally resolves the ordering. The
original brief talked about "after", "before" etc to avoid explicit orders in a
single file. I am not in favor of a single file to control orders as it can
create a repo hot spot but I am happy to be shown otherwise. The complexity of
mounting file systems with drivers is a nice complex use case but it may be
beyond a GSoC project level.

I have taken a look at gethostbyname and will raise a PR for it. I think can be
fixed with a little hack'ery.

-- 
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 bugs mailing list