HubretXie
889afa7b04
Update dfs_elm.c
...
fatfs: mkfs时增加FM_SFD参数,减少文件系统对flash空间的占用
2018-12-03 18:09:52 +08:00
Bernard Xiong
b5e9927b85
[license] Change the license of FS/DFS to Apache.
2018-10-15 01:46:07 +08:00
Bernard Xiong
8baf3d98e1
[DFS] fix the mkfs issue for multi-mounted fatfs
2018-07-28 16:34:51 +08:00
armink
0406175003
[components][dfs][fatfs] Add return 0 to get_fattime when RT_USING_LIBC not enable.
2018-06-11 19:57:57 +08:00
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
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
bernard
ac850ef3f0
add device_open/close in mkfs
2013-07-29 14:43:52 +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
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
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
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
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
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
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@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