Commit Graph

13 Commits

Author SHA1 Message Date
tantricity
93ec6aad6a support to read/write FS info sector for FAT32 partitions. speeds up statvfs. patch submitted by dimok 2011-01-16 19:03:37 +00:00
Dave Murphy
7f77d19460 last cluster is valid for allocation 2010-10-12 11:36:42 +00:00
tantricity
245ac2fee5 change partition->disc to partition->cache (from rodries) 2009-06-06 22:54:40 +00:00
Michael Wiedenbauer
806fc418e0 - cleaned up cache code. reverted access policy to what it was before.
- _FAT_fat_linkFreeClusterCleared must go thru cache aswell.
2009-06-06 16:06:42 +00:00
Michael Chisholm
2cc2cc2e39 Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc).
Changed read/write functions to use size_t and seek function to use off_t -- will help on 64 bit platforms.
Partitions no longer specified by fat1:/, fat2:/, etc.
Use "nice" device names. On GBA/NDS the default partition is still fat:/; however on Wii and GC sd:/, usb:/, etc. are used instead.
Added fsync and ftruncate functions.
Mount and unmount no longer startup/shutdown the device, this is the job of the host app.
Mount now accepts a partition start parameter.
Used standard types, eg uint32_t instead of u32.
Archive bit is set when closing/synchronizing a modified file.
Various minor bug fixes.
2008-11-20 05:22:28 +00:00
Dave Murphy
5b9bfaecf0 commit bushing's endianess fixes 2008-05-01 10:02:19 +00:00
Michael Chisholm
28e71f2920 _FAT_fat_nextCluster now returns CLUSTER_FREE when input cluster is CLUSTER_FREE 2007-11-04 09:50:39 +00:00
Michael Chisholm
def250bd28 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-10-25 12:55:18 +00:00
Michael Chisholm
8cfa906c22 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-09-01 07:55:38 +00:00
Michael Chisholm
dbdb8900b5 Added _FAT_fat_linkFreeClusterCleared to clear a cluster when it is allocated 2006-09-30 15:58:33 +00:00
Michael Chisholm
a8bbf71829 Moved all externally visible directory related functions to fatdir 2006-08-13 09:43:38 +00:00
Michael Chisholm
8bf1f6e7fb Added SCSD support. Fixed a few FAT errors. 2006-07-22 12:16:40 +00:00
Michael Chisholm
cc64edfab8 Initial import into devkitpro CVS. 2006-07-14 02:42:37 +00:00