Changes between Version 6 and Version 7 of Projects/Refactor_the_filesystem_infrastructure
- Timestamp:
- 03/17/12 03:21:56 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Projects/Refactor_the_filesystem_infrastructure
v6 v7 3 3 = Some ideas = 4 4 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 6 Please ask on the list about this topic. Some of this work has been completed. 7 6 8 * Optional: RTEMS might also remove ".." and "." from the path, as well as extra "/"? 7 9 * 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.