RTEMS Logo

RTEMS 4.9.0 On-Line Library


Filesystem Handler Table Functions

PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

5.4.1: Filesystem Handler Table Functions

  • evalpath Handler
  • evalformake Handler
  • link Handler
  • unlink Handler
  • node_type Handler
  • mknod Handler
  • rmnod Handler
  • chown Handler
  • freenod Handler
  • mount Handler
  • fsmount_me Handler
  • unmount Handler
  • fsunmount_me Handler
  • utime Handler
  • eval_link Handler
  • symlink Handler
  • OPS table functions are defined in a rtems_filesystem_operations_table structure. It defines functions that are specific to a given filesystem. One table exists for each filesystem that is supported in the RTEMS configuration. The structure definition appears below and is followed by general developmental information on each of the functions contained in this function management structure.

    typedef struct {
      rtems_filesystem_evalpath_t        evalpath;
      rtems_filesystem_evalmake_t        evalformake;
      rtems_filesystem_link_t            link;
      rtems_filesystem_unlink_t          unlink;
      rtems_filesystem_node_type_t       node_type;
      rtems_filesystem_mknod_t           mknod;
      rtems_filesystem_rmnod_t           rmnod;
      rtems_filesystem_chown_t           chown;
      rtems_filesystem_freenode_t        freenod;
      rtems_filesystem_mount_t           mount;
      rtems_filesystem_fsmount_me_t      fsmount_me;
      rtems_filesystem_unmount_t         unmount;
      rtems_filesystem_fsunmount_me_t    fsunmount_me;
      rtems_filesystem_utime_t           utime;
      rtems_filesystem_evaluate_link_t   eval_link;
      rtems_filesystem_symlink_t         symlink;
    } rtems_filesystem_operations_table;
    


    PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

    Copyright © 1988-2008 OAR Corporation