* * $Log: phatvol.h,v $ * Revision 1.4 2006/10/08 16:42:56 haraldkipp * Not optimal, but simple and reliable exclusive access implemented. * Fixes bug #1486539. Furthermore, bug #1567790, which had been rejected, * had been reported correctly and is now fixed. * * Revision 1.3 2006/07/11 12:20:19 haraldkipp * PHAT file system failed when accessed from multiple threads. A mutual * exclusion semaphore fixes this. * * Revision 1.2 2006/02/23 15:47:18 haraldkipp * PHAT file system now supports configurable number of sector buffers. * * Revision 1.1 2006/01/05 16:33:10 haraldkipp * First check-in. * * *
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) |