RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


General

PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

5.1: General

The RTEMS filesystem framework was intended to be compliant with the POSIX Files and Directories interface standard. The following filesystem characteristics resulted in a functional switching layer.

Figure of the Filesystem Functional Layering goes here.
This figure includes networking and disk caching layering.
  1. Application programs are presented with a standard set of POSIX compliant functions that allow them to interface with the files, devices and directories in the filesystem. The interfaces to these routines do not reflect the type of subordinate filesystem implementation in which the file will be found.
  2. The filesystem framework developed under RTEMS allows for mounting filesystem of different types under the base filesystem.
  3. The mechanics of locating file information may be quite different between filesystem types.
  4. The process of locating a file may require crossing filesystem boundaries.
  5. The transitions between filesystem and the processing required to access information in different filesystem is not visible at the level of the POSIX function call.
  6. The POSIX interface standard provides file access by character pathname to the file in some functions and through an integer file descriptor in other functions.
  7. The nature of the integer file descriptor and its associated processing is operating system and filesystem specific.
  8. Directory and device information must be processed with some of the same routines that apply to files.
  9. The form and content of directory and device information differs greatly from that of a regular file.
  10. Files, directories and devices represent elements (nodes) of a tree hierarchy.
  11. The rules for processing each of the node types that exist under the filesystem are node specific but are still not reflected in the POSIX interface routines.
Figure of the Filesystem Functional Layering goes here.
This figure focuses on the Base Filesystem and IMFS.
Figure of the IMFS Memfile control blocks


PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

Copyright © 1988-2004 OAR Corporation