Nut/OS  4.10.3
API Reference
phatvol.h File Reference

PHAT file system. More...

#include <cfg/fs.h>
#include <sys/types.h>
#include <sys/file.h>
#include <sys/device.h>
Include dependency graph for phatvol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _PHATVBR
 Volume boot record. More...
struct  _PHATSECTBUF
 Sector buffer structure. More...
struct  _PHATVOL
 Volume info structure. More...

Typedefs

typedef struct _PHATVBR PHATVBR
 Volume boot record.
typedef struct _PHATSECTBUF PHATSECTBUF
 Sector buffer structure.
typedef struct _PHATVOL PHATVOL
 Volume info structure.

Functions

int PhatVolMount (NUTDEVICE *dev, NUTFILE *blkmnt, uint8_t part_type)
 Mount a PHAT volume.
int PhatVolUnmount (NUTDEVICE *dev)
 Unmount a PHAT volume.
uint32_t PhatClusterSector (NUTFILE *nfp, uint32_t clust)

Detailed Description

PHAT file system.

 *
 * $Log$
 * Revision 1.6  2009/01/17 11:26:47  haraldkipp
 * Getting rid of two remaining BSD types in favor of stdint.
 * Replaced 'u_int' by 'unsinged int' and 'uptr_t' by 'uintptr_t'.
 *
 * Revision 1.5  2008/08/11 07:00:19  haraldkipp
 * BSD types replaced by stdint types (feature request #1282721).
 *
 * 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.
 *
 *
 * 

Definition in file phatvol.h.