phatvol.c File Reference


Detailed Description

Volume related routines of the PHAT file system.

When mounting a partition, we expect the block device driver to call the related mount routine of the file system driver.

 *
 * $Log: phatvol.c,v $
 * Revision 1.5  2006/05/15 11:49:47  haraldkipp
 * Added support for media formats without partition table like USB sticks.
 *
 * Revision 1.4  2006/04/07 12:56:18  haraldkipp
 * Several memory holes fixed.
 *
 * Revision 1.3  2006/02/23 15:45:22  haraldkipp
 * PHAT file system now supports configurable number of sector buffers.
 * This dramatically increased write rates of no-name cards.
 * AVR compile errors corrected.
 *
 * Revision 1.2  2006/01/22 17:38:06  haraldkipp
 * If mounting fails, the occupied resources are no longer released in
 * PhatVolMount(). Instead the caller, PhatIOCtl() in this case, calls
 * PhatVolUnmount(). This reduces the code size and makes sure, the all
 * resources are released in all cases.
 *
 * Revision 1.1  2006/01/05 16:31:56  haraldkipp
 * First check-in.
 *
 *
 * 


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)


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/