Commit Graph

33 Commits

Author SHA1 Message Date
goprife@gmail.com 3ea99e46f3 fix bug in dfs_elm.c the fat->drv to index, because fat->drv is uninitialized in f_mount.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2256 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-21 10:06:59 +00:00
goprife@gmail.com 063fb36089 add f_opendir to open root directory in dfs_elm_mount to make sure that there is a valid fat
partition on physical media.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2251 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:46:48 +00:00
goprife@gmail.com 3dbbc479fc revert to r2247
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2250 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:43:07 +00:00
goprife@gmail.com 3675f263cb fix the return type of leavefs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2249 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:16:03 +00:00
goprife@gmail.com 853b1259b0 add chk_mounted in dfs_elm_mount to make sure that there is a valid fat partition on physical media.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2248 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:09:30 +00:00
goprife@gmail.com 0919b8dab1 fix non-align bug in the mem_cpy
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2239 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-30 13:39:11 +00:00
goprife@gmail.com f7fbd6bc6d add two functions for elm fatfs provided by aozima
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2231 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-25 16:41:30 +00:00
goprife@gmail.com e040266967 fix bug in f_seekdir in elm fatfs, with the patch provided by rogerz.zhang@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2198 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-01 10:36:47 +00:00
bernard.xiong@gmail.com beaf51ff82 add full path options (DFS_FS_FLAG_FULLPATH) to the file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1904 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:37:21 +00:00
bernard.xiong@gmail.com 23839bc886 fix rename issue in DFS.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1890 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 04:05:40 +00:00
dzzxzz 44a2d720a0 unify the components/dfs coding style according to the /documentation/coding_style_cn.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1866 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:11:55 +00:00
wuyangyong 47a560b173 fixed result uninitialized issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1805 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 07:29:11 +00:00
bernard.xiong@gmail.com 3d21a83821 fixed rename issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1798 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22 22:32:56 +00:00
bernard.xiong@gmail.com 947ec32efe fixed statfs issue in elmfs porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1744 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 13:25:21 +00:00
bernard.xiong@gmail.com 7fb192b29b fix RT_DFS_ELM_USE_LFN definition issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 15:19:36 +00:00
wuyangyong ceb2ba072d change #define RT_DFS_ELM_REENTRANT 1 to #defin RT_DFS_ELM_REENTRANT
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1533 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-23 14:10:52 +00:00
qiuyiuestc@gmail.com 36e1c5ab04 fix dfs_elm_lseek issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1496 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-13 01:03:19 +00:00
bernard.xiong@gmail.com d37f7b6100 fix directory seek issue in FatFs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1448 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:02:57 +00:00
wuyangyong adc63f2c0a update elmfat to R0.08b
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1336 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-18 03:17:49 +00:00
bernard.xiong afbce6d5f9 fix <BAD file> issue on mount point directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1237 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-08 15:48:58 +00:00
bernard.xiong 82f817046c merge DFS ELM FatFs from 0.3.2 to 0.4.x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1158 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 07:14:42 +00:00
bernard.xiong@gmail.com d4c03d07cf add fstat implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1057 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 23:36:33 +00:00
bernard.xiong 5f85cb2f78 fix lseek issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1032 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-29 05:58:07 +00:00
bernard.xiong bd6d16ecde fix DFS elm struct mismatch issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1027 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-22 07:26:26 +00:00
bernard.xiong b4a98e4457 Improve the Device File System of the POSIX compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 08:18:24 +00:00
jiaojinxing1987@gmail.com 47c5101124 第415行
if (fno.fattrib & AM_DIR) d->d_type &= DFS_DT_DIR;
		else d->d_type &= DFS_DT_REG;
改为:
		if (fno.fattrib & AM_DIR) d->d_type = DFS_DT_DIR;
		else d->d_type = DFS_DT_REG;

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@997 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-03 03:18:19 +00:00
bernard.xiong 3c2c5df6e8 fix O_RDWR issue in ELM FatFs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@912 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-14 04:45:45 +00:00
bernard.xiong 8772a35e3b change dfs_stat/dfs_statfs to _stat/_statfs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@822 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-03 08:47:09 +00:00
bernard.xiong@gmail.com 26aa51e8a6 add flush, statfs, mkfs to device file system interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@804 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:35:56 +00:00
bernard.xiong@gmail.com b5763568c9 the unit of read/write offset and buffer size is changed to the block size in block device driver read/write interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@793 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-14 23:31:16 +00:00
bernard.xiong c4a21b4456 add more options to filesystem mount function invoke.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@665 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-22 09:33:25 +00:00
qiuyiuestc 1f42e27ece [mini2440]use long filename feature
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 01:09:07 +00:00
bernard.xiong 075498e796 move to components directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@634 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:01:28 +00:00