RTEMS
5.0.0
|
Provides system call and file system interface definitions. More...
Modules | |
File System Node Handler | |
File system node handler. | |
File System Operations | |
File system operations. | |
File System Types and Mount | |
File system types and mount. | |
IMFS Generic Nodes | |
Generic nodes are an alternative to standard drivers in RTEMS. | |
Termios | |
Termios. | |
User Environment | |
Provides a POSIX like user environment for tasks. | |
Files | |
file | libio.h |
Basic IO API. | |
file | base_fs.c |
Base File System Initialization. | |
file | libio_exit.c |
file | libio_init.c |
RTEMS LibIO Initialization. | |
file | mount-mktgt.c |
mount_and_make_target_path() implementation. | |
file | rtems_mkdir.c |
rtems_mkdir() implementation. | |
file | default_handlers.c |
rtems_filesystem_handlers_default definition. | |
file | default_ops.c |
rtems_filesystem_operations_default definition. | |
Data Structures | |
struct | rtems_filesystem_location_info_tt |
File system location. More... | |
struct | rtems_filesystem_global_location_t |
Global file system location. More... | |
struct | rtems_filesystem_limits_and_options_t |
Contain file system specific information which is required to support fpathconf(). More... | |
struct | rtems_libio_tt |
An open file data structure. More... | |
struct | rtems_libio_rw_args_t |
Paramameter block for read/write. More... | |
struct | rtems_libio_open_close_args_t |
Parameter block for open/close. More... | |
struct | rtems_libio_ioctl_args_t |
Parameter block for ioctl. More... | |
union | __rtems_dev_t |
Macros | |
#define | rtems_filesystem_split_dev_t(_dev, _major, _minor) |
Typedefs | |
typedef struct rtems_filesystem_location_info_tt | rtems_filesystem_location_info_t |
File system location. | |
typedef struct rtems_filesystem_global_location_t | rtems_filesystem_global_location_t |
Global file system location. More... | |
typedef off_t rtems_off64_t | __attribute__((deprecated)) |
Functions | |
rtems_filesystem_fsmount_me_t | rtems_filesystem_get_mount_handler (const char *type) |
Gets the mount handler for the file system type. More... | |
void | rtems_filesystem_initialize (void) |
Base File System Initialization. More... | |
void | rtems_libio_post_driver (void) |
void | rtems_libio_exit (void) |
int | rtems_mkdir (const char *path, mode_t mode) |
Creates a directory and all its parent directories according to path. More... | |
Variables | |
const rtems_filesystem_limits_and_options_t | rtems_filesystem_default_pathconf |
Default pathconf settings. More... | |
Provides system call and file system interface definitions.
General purpose communication channel for RTEMS to allow UNIX/POSIX system call behavior under RTEMS. Initially this supported only IO to devices but has since been enhanced to support networking and support for mounted file systems.
#define rtems_filesystem_split_dev_t | ( | _dev, | |
_major, | |||
_minor | |||
) |
Global file system location.
The global file system locations are used for
During the path evaluation global start locations are obtained to ensure that the current file system will be not unmounted in the meantime.
To support a release within critical sections of the operating system a deferred release is supported. This is similar to malloc() and free().
rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler | ( | const char * | type | ) |
Gets the mount handler for the file system type.
NULL
if no such association exists. void rtems_filesystem_initialize | ( | void | ) |
Base File System Initialization.
Initialize the foundation of the file system. This is specified by the structure rtems_filesystem_mount_table. The usual configuration is a single instantiation of the IMFS or miniIMFS with a single "/dev" directory in it.
int rtems_mkdir | ( | const char * | path, |
mode_t | mode | ||
) |
Creates a directory and all its parent directories according to path.
The mode value selects the access permissions of the directory.
0 | Successful operation. |
-1 | An error occurred. The errno indicates the error. |
const rtems_filesystem_limits_and_options_t rtems_filesystem_default_pathconf |
Default pathconf settings.
Override in a filesystem.