- Goals
- User guide
- Classlib developers guide
- Developer guide
- Tester guide
- Porting guide
- Blogs
- Project development
- Glossary
- Proposals
- FAQ
- Papers & presentations
- References
- Research
Filesystem framework
The filesystem support in JNode is split up into a generic part and a filesystem specific part. The role of the generic part is:
- Keep track of all mounted filesystems.
- Map between path names are filesystem entries.
- Share filesystem entries between various threads/processes.
The role of the filesystem specific part is:
- Store and retrieve files.
- Store and retrieve directories.
We should be more specific about what a filesystem is. JNode makes a distinction the a FileSystemType and a FileSystem. A FileSystemType has a name, can detect filesystems of its own type on a device and can create FileSystem instances for a specific device (usually a disk). A FileSystem implements storing/retrieving files and directories.
To access files in JNode, use the regular classes in the java.io package. They are connected to the JNode filesystem implementation. A direct connection to the filesystem implementation is not allowed.
- Printer-friendly version
- Login to post comments