Visible to Intel only — GUID: zpt1742175846613
Ixiasoft
Visible to Intel only — GUID: zpt1742175846613
Ixiasoft
7.8. Using File System
The HAL generic device model for file subsystems allows access to data stored in an associated storage device using the C standard library file I/O functions. For example, the read-only zip file system provides read-only access to a file system stored in flash memory.
A file subsystem is responsible for managing all file I/O access beneath a given mount point. For example, if a file subsystem is registered with the mount point /mnt/rozipfs, all file access beneath this directory, such as fopen("/mnt/rozipfs/myfile", "r"), is directed to that file subsystem.
As with character mode devices, you can manipulate files in a file subsystem using the C file I/O functions defined in file.h, such as fopen() and fread().