[GSOC] RTEMS File Systems Related Hierarchy

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Aug 3 07:05:56 UTC 2012


Hello,

On 08/02/2012 10:50 PM, Xiaochen Pan wrote:
> Hello,
>
> I read the doc on File Systems development:
>
> http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.2/share/rtems/pdf/filesystem.pdf

for the current Git master this document is out-dated.  You should look 
directly in the source files.

http://git.rtems.org/rtems.git/tree/cpukit/libcsupport/include/rtems/libio.h

http://git.rtems.org/rtems.git/tree/cpukit/libcsupport/include/rtems/libio_.h

If you want to add a new file system, you have to implement the operations 
(rtems_filesystem_operations_table) and node handlers 
(rtems_filesystem_file_handlers_r).

For generic path evaluation see rtems_filesystem_eval_path_generic().  It 
should be pretty easy now to add a new file system to RTEMS.

File systems using block devices should access them via the Bdbuf:

http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__rtems__bdbuf.html

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list