source: rtems-docs/filesystem/preface.rst @ 14d532b

Last change on this file since 14d532b was 14d532b, checked in by Amar Takhar <verm@…>, on 01/16/16 at 15:41:31

Fix section numbering, create TOC, seperate preface.

  • Property mode set to 100644
File size: 2.7 KB
5This document describes the implementation of the RTEMS filesystem
6infrastructure.  This infrastructure supports the following
9- Mountable file systems
11- Hierarchical file system directory structure
13- POSIX compliant set of routines for the manipulation of files and directories
15- Individual file and directory support for the following:
16  # Permissions for read, write and execute
17  # User ID
18  # Group ID
19  # Access time
20  # Modification time
21  # Creation time
23- Hard links to files and directories
25- Symbolic links to files and directories
27This has been implemented to provide the framework for a UNIX-like
28file system support. POSIX file and directory functions have been
29implemented that allow a standard method of accessing file, device and
30directory information within file systems. The file system concept that
31has been implemented allows for expansion and adaptation of the file
32system to a variety of existing and future data storage devices. To this
33end, file system mount and unmount capabilities have been included in this
34RTEMS framework.
36This framework slightly alters the manner in which devices are handled
37under RTEMS from that of public release 4.0.0 and earlier.  Devices that
38are defined under a given RTEMS configuration will now be registered as
39files in a mounted file system.  Access to these device drivers and their
40associated devices may now be performed through the traditional file system
41open(), read(), write(), lseek(), fstat() and ioctl() functions in addition
42to the interface provided by the IO Manager in the RTEMS Classic API.
44An In-Memory File System (IMFS) is included which provides full POSIX
45filesystem functionality yet is RAM based.  The IMFS maintains a
46node structure for each file, device, and directory in each mounted
47instantiation of its file system. The node structure is used to
48manage ownership, access rights, access time, modification time,
49and creation time.  A union of structures within the IMFS nodal
50structure provide for manipulation of file data, device selection,
51or directory content as required by the nodal type. Manipulation of
52these properties is accomplished through the POSIX set of file and
53directory functions.  In addition to being useful in its own right,
54the IMFS serves as a full featured example filesystem.
56The intended audience for this document is those persons implementing
57their own filesystem.  Users of the filesystem may find information
58on the implementation useful.  But the user interface to the filesystem
59is through the ISO/ANSI C Library and POSIX 1003.1b file and directory
62.. COMMENT: COPYRIGHT (c) 1988-2002.
64.. COMMENT: On-Line Applications Research Corporation (OAR).
66.. COMMENT: All rights reserved.
Note: See TracBrowser for help on using the repository browser.