Collaboration diagram for Volume Support:
Data Structures | |
struct | _PHATVBR |
Volume boot record. More... | |
struct | _PHATSECTBUF |
Sector buffer structure. More... | |
struct | _PHATVOL |
Volume info structure. More... | |
Typedefs | |
typedef _PHATVBR | PHATVBR |
Volume boot record. | |
typedef _PHATSECTBUF | PHATSECTBUF |
Sector buffer structure. | |
typedef _PHATVOL | PHATVOL |
Volume info structure. | |
Functions | |
int | PhatVolMount (NUTDEVICE *dev, NUTFILE *blkmnt, u_char part_type) |
Mount a PHAT volume. | |
int | PhatVolUnmount (NUTDEVICE *dev) |
Unmount a PHAT volume. | |
u_long | PhatClusterSector (NUTFILE *nfp, u_long clust) |
|
Mount a PHAT volume. This routine is called by the block device driver while mounting a partition. It reads and verifies the volume boot record, which is located in the first sector of a volume. The routine may also initializes any caching mechanism. Thus, it must be called before any other read or write access.
|
|
Unmount a PHAT volume. This routine is called by the block device driver while unmounting a partition.
|