Changes between Version 6 and Version 7 of Projects/Refactor_the_filesystem_infrastructure


Ignore:
Timestamp:
Mar 17, 2012, 3:21:56 AM (8 years ago)
Author:
ChrisJohns
Comment:

/* Some ideas */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/Refactor_the_filesystem_infrastructure

    v6 v7  
    33=  Some ideas  =
    44
    5  *  Make the path evaluation function common to all filesystems. The current mechanism requires a lot of duplication of code into all filesystems (that contains C string manipulation, making it even worse), requires a deep understanding of the filesystem infrastructure and makes implementing new filesystems a lot more difficult and frustrating than it should be. RTEMS should handle the mount point decoding, and only call into a particular filesystem when it is actually accessed. RTEMS should provide paths relative to the mount point of the particular filesystem.
     5
     6Please ask on the list about this topic. Some of this work has been completed.
     7
    68 *  Optional: RTEMS might also remove ".." and "." from the path, as well as extra "/"?
    79 *  This mechanism also removes the implementation of the mount and unmount calls in each filesystem, which further reduces the complexity of writing a new filesystem. These calls are sometimes left over for years, e.g. in the MSDOS filesystem, so this is a real issue.