[RTEMS Project] #3894: Replace the device filesystem with a specialization of the IMFS

RTEMS trac trac at rtems.org
Wed Mar 4 05:48:53 UTC 2020


#3894: Replace the device filesystem with a specialization of the IMFS
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  5.1
Component:  fs               |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber):

 Replying to [comment:1 Chris Johns]:
 > Will the changes include the examples and the `devfs` hello world
 example?

 Yes, the aim is to fix this example so that it works with Termios based
 console drivers.

 >
 > How doe the size of this approach compare to the `devfs` approach?

 I don't have numbers yet. I guess it will slightly increase.

 You can further reduce the code size if you disable the support for the
 legacy IO drivers and use the new IMFS_add_node() instead.

 I don't think this matters. If you want a minimal setup, then why do you
 want to use the POSIX open/read/write API to access devices? The POSIX
 functions pull in errno for example which pulls in the re-entrancy support
 which pulls in a hell of dependencies.

--
Ticket URL: <http://devel.rtems.org/ticket/3894#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list