Commit Graph

69 Commits

Author SHA1 Message Date
zyh 38169bb51a [Components][Dfs][Fat]fix mkfs bug 2018-03-18 17:22:22 +08:00
liu2guang e63de3f66b [elm] Fixed elm device unmount error when mounting multiple elm devices. 2018-01-24 15:13:42 +08:00
bernard 6d9fcd04d2 [Kernel] Change the order of initialization.
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
bernard 0f5a68a55e [dfs] add poll/select
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
yygg_you d428166f08 修复 mkfs失败的错误 2017-10-06 09:01:56 +08:00
bernard b7cf723162 [DFS] code cleanup 2017-06-15 14:36:59 +08:00
Urey 2426efe6b7 delete volatile 2017-05-26 21:05:10 +08:00
Urey 0e82a5b821 fix f_mount when mount more fats 2017-05-26 21:02:59 +08:00
xools 5b50c7e41b fix fattime different from elmfat definition 2017-04-16 16:13:15 -07:00
Bernard Xiong 5502558df9 [DFS] fix the st_blksize issue in elm fatfs. 2017-04-11 09:33:25 +08:00
unknown 6ee81de429 hichard 2017-02-13 22:33:15 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
Bernard Xiong 1377022b18 [DFS] Use SConscript of each file system to build. 2015-04-03 14:26:18 +00:00
bernard 5a6ec7dcae [DFS] fix the wrong field comparison in FAT mount. 2014-01-26 22:43:12 +08:00
bernard e601c2a6ed Add sector size check when mounting a FAT file system. 2014-01-26 20:30:37 +08:00
prife 26a31d662d dfs: make elmfatfs check secter size everytime
more infomation:
http://www.rt-thread.org/phpBB3/topic2965.html
2013-12-21 12:04:19 +08:00
bernard ac850ef3f0 add device_open/close in mkfs 2013-07-29 14:43:52 +08:00
bernard a124e7bd22 add initialization debug code 2013-07-24 07:33:48 +08:00
bernard b96b35613f add mount table 2013-07-22 07:46:10 +08:00
yiyue.fang 773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
prife 157e326487 dfs_elm.c: fix the head file conflicts caused by time.h 2013-03-02 18:56:07 +08:00
aozima 9bb005312f fixed uninitialized variable. 2013-03-01 12:34:01 +08:00
aozima f71555ec55 fixed dfs(elmfat) bug: fixed the stat(st_mtime) issue. 2013-03-01 12:23:28 +08:00
prife a4d661dcf1 fix memory leak in dfs_elm.c and umount fatfs when mount fatfs fails (this bug leads to mkfs failure in linux) 2013-01-22 23:47:32 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
prife 1e6bf8671c format dfs_elm.c with astyle 2013-01-08 19:52:00 +08:00
prife 5646189b29 elm fatfs support mkfs with no need to run dfs_mount elm first; and can mount/umount/mkfs without reset any more 2013-01-08 18:58:45 +08:00
goprife@gmail.com 5bc586d399 fix compile warnings in dfs_elm.c to make sure type matching
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2545 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:14:07 +00:00
bernard.xiong@gmail.com a741197fa7 fixed the O_APPEND and lseek issue in DFS FatFS.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2496 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-19 01:57:43 +00:00
goprife@gmail.com 56ab153b1c update dfs to support NFTL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2478 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-13 02:13:34 +00:00
goprife@gmail.com d5eb16dda2 fix the line break in dfs_elm.c(there are some windows line break characters)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2413 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 16:08:00 +00:00
goprife@gmail.com eda62844c1 fix the line break character in ff.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 06:02:40 +00:00
sc943313837@gmail.com c77e211d1d add SYNC in function disk_ioctl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-07 05:13:36 +00:00
goprife@gmail.com 6864f3a38b fixed the memory leak in dfs_elm.c found by hezlog@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2292 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-17 02:33:18 +00:00
wuyangyong 01aa24f2c5 update elmfat: add RT_DFS_ELM_CODE_PAGE define.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2285 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-09 05:50:58 +00:00
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