summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c (follow)
Commit message (Collapse)AuthorAge
* Fixed some warnings.Jens Arnold2005-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5537 a1c6a512-1295-4272-9138-f99709370657
* unmount function in preparation for MMC hotswap, more mutexingJörg Hohensohn2005-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5536 a1c6a512-1295-4272-9138-f99709370657
* Multivolume: prevent file rename attempts across volumes.Jens Arnold2005-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5535 a1c6a512-1295-4272-9138-f99709370657
* modify fat cache entries atomic, this was potentially unsafeJörg Hohensohn2005-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5534 a1c6a512-1295-4272-9138-f99709370657
* Correct handling of FAT16 root directory when it does not start on a pseudo ↵Jens Arnold2005-01-03
| | | | | | cluster boundary. Fixed some places where the cluster number can become negative. Significant code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5527 a1c6a512-1295-4272-9138-f99709370657
* killed a warning for boxes not supporting FAT16Jörg Hohensohn2004-12-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5515 a1c6a512-1295-4272-9138-f99709370657
* prepared to mount multiple partitions into one logical file system (most ↵Jörg Hohensohn2004-12-28
| | | | | | useful for Ondio, internal memory + external MMC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
* Removed #include math.hLinus Nielsen Feltzing2004-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5382 a1c6a512-1295-4272-9138-f99709370657
* cleaned out parts of bpb which we don't useJörg Hohensohn2004-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5274 a1c6a512-1295-4272-9138-f99709370657
* panic on write behind partition, tooJörg Hohensohn2004-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5171 a1c6a512-1295-4272-9138-f99709370657
* FAT16 support for the OndioJörg Hohensohn2004-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5114 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: renaming a directory could cause a name clash. New feature: ↵Linus Nielsen Feltzing2004-08-22
| | | | | | rename() can now move files/directories as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5008 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 2Jens Arnold2004-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
* Removed nasty lvalue castLinus Nielsen Feltzing2004-07-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4934 a1c6a512-1295-4272-9138-f99709370657
* New function: rmdir(). Also some changes in the fat code, to track the ↵Linus Nielsen Feltzing2004-04-16
| | | | | | parent directory in opendir(), to be able to delete directories git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
* Added cluster size to the disk debug screenLinus Nielsen Feltzing2004-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4469 a1c6a512-1295-4272-9138-f99709370657
* Oops. Wrong arguments to memset(). Thanks to Mike Wilson for pointing that out.Linus Nielsen Feltzing2004-01-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4274 a1c6a512-1295-4272-9138-f99709370657
* Ooops. Forgot to clear the newly allocated cluster in mkdir()Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4242 a1c6a512-1295-4272-9138-f99709370657
* Second bug in mkdir() :-)Linus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4241 a1c6a512-1295-4272-9138-f99709370657
* Implemented the mkdir() function in the FAT32 driverLinus Nielsen Feltzing2004-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
* Patch #791531 by Barry McIntosh, fake time stamps for file creation/updates ↵Linus Nielsen Feltzing2003-11-03
| | | | | | on Players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4005 a1c6a512-1295-4272-9138-f99709370657
* Killed a warning (and a bug I introduced in the last commit)Linus Nielsen Feltzing2003-10-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3994 a1c6a512-1295-4272-9138-f99709370657
* Better error reportingLinus Nielsen Feltzing2003-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3986 a1c6a512-1295-4272-9138-f99709370657
* Another go at the disk-full FAT driver fix. Now it skips the reserved ↵Linus Nielsen Feltzing2003-07-19
| | | | | | sectors at all times. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3847 a1c6a512-1295-4272-9138-f99709370657
* Fixed a bug that included the reserved clusters 0 and 1 in the search for ↵Linus Nielsen Feltzing2003-07-16
| | | | | | available clusters. That could in some cases lead to a bogus disk-full error. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3836 a1c6a512-1295-4272-9138-f99709370657
* Now handles a full disk a little better, and it doesn't trust the fsinfo anymoreLinus Nielsen Feltzing2003-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3755 a1c6a512-1295-4272-9138-f99709370657
* Small seek optimization -- begin seek at last read cluster if possibleHardeep Sidhu2003-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3720 a1c6a512-1295-4272-9138-f99709370657
* More detailed error codesLinus Nielsen Feltzing2003-04-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3605 a1c6a512-1295-4272-9138-f99709370657
* Corrected win1251 -> iso 8859-5 conversion (Alex)Björn Stenberg2003-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3532 a1c6a512-1295-4272-9138-f99709370657
* update_fat_entry() set the wrong cache line dirty if bpb_resvdseccnt wasn't ↵Linus Nielsen Feltzing2003-03-04
| | | | | | divisible by 32 (didn't compensate for the reserved sector count) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3379 a1c6a512-1295-4272-9138-f99709370657
* Enhanced error codes for better error trackingLinus Nielsen Feltzing2003-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3341 a1c6a512-1295-4272-9138-f99709370657
* The dir code is now reentrant.Björn Stenberg2003-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3184 a1c6a512-1295-4272-9138-f99709370657
* Directories can now be renamed too.Björn Stenberg2003-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3167 a1c6a512-1295-4272-9138-f99709370657
* Remove use of rockbox-mode.el in local variables list.Mats Lidell2003-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
* Added table for converting unicode page 1 and 2 into ISO 8859-2Björn Stenberg2003-01-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3123 a1c6a512-1295-4272-9138-f99709370657
* Made unicode2iso() static.Björn Stenberg2003-01-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3087 a1c6a512-1295-4272-9138-f99709370657
* Added unicode conversion from cyrillic, greek, hebrew, arabic and thai.Björn Stenberg2003-01-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3086 a1c6a512-1295-4272-9138-f99709370657
* Added recalculation of free disk space. Press PLAY in Debug->Disk Info->Free ↵Björn Stenberg2002-12-09
| | | | | | to run it. Takes ~30 sec on my 40GB Toshiba. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2968 a1c6a512-1295-4272-9138-f99709370657
* Fixed warnings.Björn Stenberg2002-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2876 a1c6a512-1295-4272-9138-f99709370657
* Added creation and last-modified timestamps.Björn Stenberg2002-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2875 a1c6a512-1295-4272-9138-f99709370657
* Removed some debug output.Björn Stenberg2002-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2858 a1c6a512-1295-4272-9138-f99709370657
* Added rename()Björn Stenberg2002-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
* Bug fixes: 1) add_dir_entry() would update end-of-dir marker even when not ↵Björn Stenberg2002-11-18
| | | | | | supposed to. 2) create_dos_name() didn't treat spaces correctly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2854 a1c6a512-1295-4272-9138-f99709370657
* Added longname handling to fat_remove().Björn Stenberg2002-11-18
| | | | | | | | | | Added proper 0xffff padding of last longname entry. add_dir_entry() now makes sure shortname is unique. Changed update_file_size() to use dir-as-file handling. Simplified create_dos_name() since we never use shortnames. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2853 a1c6a512-1295-4272-9138-f99709370657
* Long filename support added. (fat_remove() not updated yet.)Björn Stenberg2002-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2852 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up dir handling further.Björn Stenberg2002-11-15
| | | | | | | | | Fixed a bug where a new dir cluster wasn't completely cleared. Added freecount calculation if unset. Removed a couple of signed mul/divs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2851 a1c6a512-1295-4272-9138-f99709370657
* Added check to avoid FAT sector 0 panic.Björn Stenberg2002-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2850 a1c6a512-1295-4272-9138-f99709370657
* Directories are now handled as files, using fat_readwrite() instead of ↵Björn Stenberg2002-11-13
| | | | | | ata_read/write_sector(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2844 a1c6a512-1295-4272-9138-f99709370657
* Added extra safety checks.Björn Stenberg2002-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2839 a1c6a512-1295-4272-9138-f99709370657
* Added disk space to Info menu item. (Players press + to see it.)Björn Stenberg2002-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2837 a1c6a512-1295-4272-9138-f99709370657