yiyue.fang
773990abdb
Embedded GPLv2 license in dfs
2013-06-26 22:30:40 +08:00
Bernard Xiong
9acd018cbb
fix compiling warning
2013-06-23 07:57:22 +08:00
Bernard Xiong
88c9bc2d64
fix compiling error
2013-06-23 07:53:19 +08:00
Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +08:00
Bernard Xiong
d80a471680
Fix the memheap_realloc issue
2013-06-03 06:44:35 +08:00
Grissiom
3b91e8143b
add missing dfs_mkfs prototype in dfs_fs.h
2013-05-17 20:07:55 +08:00
Bernard Xiong
0e16b6dc97
add RAMFS implementation
2013-05-05 07:16:49 +08:00
geniusgogo
f95cd9a354
dfs_fs.c: optimized redundant loop.
2013-04-01 02:53:59 +08:00
geniusgogo
8d6264af58
dfs.c: delete the redunant space in the line end.
2013-04-01 02:37:13 +08:00
geniusgogo
ec6f9e3b5a
dfs.c: fix null pointer bug.
2013-04-01 02:31:24 +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
4be62911f9
show volume size in KBytes in df
2013-01-25 12:17:47 +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
86623c945f
Update CRLF
2013-01-08 23:09:34 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
prife
4bc0347b11
update dfs_xxx_mkfs in jffs2 nand uffs.c to use new args
2013-01-08 20:30:57 +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
e10d628b47
remove the drivers in uffs/nand which is already out of date. now you can look simulator to explore how to use uffs on nand flash or Realtouch demo code on github
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2576 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:11:09 +00:00
goprife@gmail.com
3b2b01c375
1. fix bug in uffs_nandif.c to work with mtd nand driver; 2)clean code in uffs_nandif.c and dfs_uffs.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2575 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:07:04 +00:00
goprife@gmail.com
799ecf48c6
update uffs so it can work with mtd interface.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2558 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 03:26:34 +00:00
goprife@gmail.com
fd07f30f51
fix path bug and file/dir mode bug in dfs_nfs.c
...
now we can create file or directory on NFS server both with FreeNFS on windows and nfs-server on linux
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2556 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 16:55:23 +00:00
goprife@gmail.com
58fc3334b0
add dfs_fd check code in dfs and fix a warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2547 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 06:28:28 +00:00
goprife@gmail.com
c0fadff061
dfs_fd check code should not be in fd_get, which will cause open/mkdir failed.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2546 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 05:01:02 +00: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
goprife@gmail.com
911cbb5793
move check dfs_fd valid code from close to fd_get
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 02:49:35 +00:00
goprife@gmail.com
1c419d428e
check dfs_fd valid in close
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2539 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-28 13:40:52 +00:00
dzzxzz@gmail.com
69521e2c8f
fixed the coding style in components/dfs
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2530 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 01:12:13 +00:00
goprife@gmail.com
bcc4893d23
1) add jffs2's dirty space size to total free size 2) change JFFS2_NAME_MAX to 23
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2497 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-19 02:42:23 +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
b45f14c038
1) add JFFS2_NAME_MAX to jffs2_config.h 2)fix micro conflict in include/port/fcntl.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2492 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-18 06:42:27 +00:00
goprife@gmail.com
4f7cfcd5e9
add DFS_NFS_MAX_MTU to nfs to support read/write more than one mtu data in nfs; 2) fix a bug in nfs_lseek when offset is at the end of file.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2485 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-15 11:37:41 +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
6de2d5fe9f
remove part of uffs configuration to rtconfig.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-02 14:28:53 +00:00
goprife@gmail.com
564ca94007
update jffs2, now it can be built with gcc(NEWLIB is needed!)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2453 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-27 06:15:51 +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
583bb26fb2
fix the bug about directory in uffs
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2412 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 15:53:54 +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
goprife@gmail.com
e956eedc20
fill st_blksize of struct stat in dfs_def.h(this filed has nothing to do with jffs2)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2369 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 04:08:54 +00:00
goprife@gmail.com
b45dfd0a15
change block_size to pages_per_block in dfs_uffs.c and uffs_nandif.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2364 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 01:19:16 +00:00
goprife@gmail.com
d9b0bec989
fix bug in dfs_unmount when test unmount condition found by Rob(rdent@iinet.net.au)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2356 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-20 01:59:41 +00:00
goprife@gmail.com
2bbd1496a3
update so can be build with vs2005
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2354 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-19 08:59:22 +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
qiuyiuestc@gmail.com
76ba5137dd
export symbols in dfs_posix.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2304 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 12:55:35 +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
iamyhw@gmail.com
e39022f3c7
dfs: add format flag O_BINARY
...
lzo: change to use posix interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2283 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-08 03:37:46 +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
dzzxzz@gmail.com
128a283245
fixed a spelling error and use RT_NULL instead of NULL in DFS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 10:08:46 +00:00
dzzxzz@gmail.com
fdc7dfc768
use RT_NULL instead of NULL in DFS, and format the code in DFS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:25:19 +00:00
dzzxzz@gmail.com
9d4072ce59
fixed spelling errors in DFS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:09:42 +00:00
dzzxzz@gmail.com
4b0e272644
delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +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
94d413a7a7
merge 1.0.2 modification.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-29 06:03:11 +00:00
goprife@gmail.com
503534a506
remove uffs/sr/test code to reduce size of source
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2179 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-23 18:48:53 +00:00
goprife@gmail.com
9b2ea9bc0f
1. change mtd to mtd_nor, 2. update jffs2
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2140 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:39:39 +00:00
goprife@gmail.com
50955197d5
add a patch to fix compile warning in yaffs code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2076 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 16:52:47 +00:00
goprife@gmail.com
ff350c4ebc
modify the line break character of yaffs.diff
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2075 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 14:33:50 +00:00
goprife@gmail.com
5f55c8cb50
add yaffs code and modify dfs/SConscript for yaffs
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2073 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:53:49 +00:00
goprife@gmail.com
3467396926
fix bug in dfs_jffs2_statfs.buf->f_bfree should be the free blocks, not bytes.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2048 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 07:43:28 +00:00
bernard.xiong@gmail.com
5cc877fa24
fixed compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2040 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:29:51 +00:00
goprife@gmail.com
7f98c2e5e9
fix bug in uffs_result_to_dfs, that UENOMEM is corresponding with DFS_STATUS_ENOSPC
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2026 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 12:44:38 +00:00
goprife@gmail.com
0bcb79b3ab
fix bugs in uffs_result_to_dfs and in dfs_uffs_statfs in dfs_uffs.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2025 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 11:28:51 +00:00
goprife@gmail.com
7494880ac2
remove struct _uffs_data in dfs_uffs.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2022 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 08:14:32 +00:00
bernard.xiong@gmail.com
2c22680aff
remove dfs server init.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2021 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-07 16:10:57 +00:00
goprife@gmail.com
6e65fb482a
update dfs_uffs.c to use uffs_Mount and uffs_UnMount function provided by official repo
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2020 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:44:55 +00:00
goprife@gmail.com
3484e839a8
just update uffs with official(I miss to commit helper_cmds.c, sorry) and delete tags
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2019 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:43:37 +00:00
goprife@gmail.com
f435f7116a
update uffs from official repo(fixed bugs and support mount/unmount one partition"
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2018 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:39:47 +00:00
goprife@gmail.com
3ab019bf86
change SConscript for uffs and yaffs2
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2017 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:35:58 +00:00
goprife@gmail.com
0b4c769f10
add uffs (new version, new port)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:12:43 +00:00
goprife@gmail.com
34678294fe
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2014 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 15:53:34 +00:00
qiuyiuestc@gmail.com
4421ec8c64
fix memory leak issue in unmount function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1999 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 11:22:51 +00:00
goprife@gmail.com
484af67a52
update dfs_jffs2.c (note: there are some bugs in jffs2 when multi-threads writes and read)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1994 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-10 14:41:11 +00:00
goprife@gmail.com
8e5b4024ed
update jffs2, CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE can be disable in jffs2_config.h; modify semaphore.h so that rt_mutex_init and work correctly in jffs2; fix a memory leak bug in dfs_jffs2.c when close directory
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1991 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-06 14:50:19 +00:00
bernard.xiong@gmail.com
d6d7c4a851
remove LIBRARY=True option.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1976 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-24 07:23:58 +00:00
bernard.xiong@gmail.com
68384c37c4
change RT_USING_MMCSD to RT_USING_SDIO;
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1969 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:10:07 +00:00
goprife@gmail.com
7114014429
add a option in jffs2_config.h(whose value may be important to reading/writing speed)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1951 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 18:12:45 +00:00
goprife@gmail.com
6202b6c155
fix bugs in lseek in dfs_posix.c and dfs_jffs2.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-15 07:28:47 +00:00
goprife@gmail.com
2a858f9316
add an option to jump relatvie dir '.' and '..' in jffs2
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1943 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-11 07:29:30 +00:00
bernard.xiong@gmail.com
29df97e5cd
remove cyg_* type in flashio.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1942 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-10 11:49:44 +00:00
goprife@gmail.com
56ea07b02d
fix bugs in debug.c of jffs2
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1941 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 13:53:01 +00:00
dzzxzz@gmail.com
48a170f861
calling function fd_put() before rt_set_errno()
...
then tid->error can avoid being changed unexpectedly
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1940 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 03:30:30 +00:00
bernard.xiong@gmail.com
a5e0a4526a
update jffs2 to use MTD device.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1938 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07 03:53:11 +00:00
bernard.xiong@gmail.com
df84097076
fix the spelling issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1934 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:58 +00:00
goprife@gmail.com
4f72d1cba1
remove some warning in jffs2, and fix armcc compile error when using scons
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 01:29:22 +00:00
bernard.xiong@gmail.com
fcf01d1d3d
fix mutex issue in semaphore.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1927 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:23:14 +00:00
dzzxzz@gmail.com
4d7fe31bc2
correct a spelling error in dfs_def.h
...
DFS_STATUS_EAGIAN -> DFS_STATUS_EAGAIN
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1922 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 01:33:51 +00:00
goprife@gmail.com
3b11805964
add jffs2 code (porting from ecos v3.0)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 18:45:44 +00:00
bernard.xiong@gmail.com
fcf74ed108
add DFS_FS_FLAG_FULLPATH support in rename function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1905 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:46:15 +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
yungchi@cs.nctu.edu.tw
cba5eb60f8
use DFS_STATUS_EINVAL
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 15:49:55 +00:00
yungchi@cs.nctu.edu.tw
f66dafe7a6
fix lseek underflow problem
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1767 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-17 11:33:30 +00:00
bernard.xiong@gmail.com
b2f9217686
change to UNIX end of line.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:50:08 +00:00
bernard.xiong@gmail.com
9278fe2a8c
change to UNIX end of line.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1745 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:46:07 +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
d561771cc0
fixed romfs file source error in SConscript.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1665 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-06 11:35:48 +00:00
bernard.xiong@gmail.com
c14f8ba9fb
add DFS_ROMFS_ROOT dependence on ROMFS source file.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1664 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-05 13:02:23 +00:00
bernard.xiong
f6ce7bb0d9
fix romfs lseek issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1663 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-04 09:13:43 +00:00
bernard.xiong
9781537575
fix romfs lookup and open directory issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1662 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-04 09:04:39 +00:00
bernard.xiong
1992d17501
fix compiler warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1661 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-04 03:46:32 +00:00
iamyhw@gmail.com
7f77bab219
update uffs filesystem read access error.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1638 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-18 00:54:20 +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
qiuyiuestc@gmail.com
c99ca774a1
Modify the link mode, compile each component to static library first and then link them
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1405 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-16 00:29:28 +00:00
bernard.xiong
2a8b1db170
Update romfs dummy code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1391 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-01 03:05:25 +00:00
qiuyiuestc@gmail.com
ea009132a2
modify micro definition of file Operation flags
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-20 15:09:28 +00:00
iamyhw@gmail.com
8d77fe70dc
fixed bug: no release uffs_object_handler in dfs_uffs.c
...
function:dfs_uffs_open()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1363 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-03 10:13:21 +00:00
iamyhw@gmail.com
ab2ddad116
fix lseek para. err.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1359 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-01 09:53:50 +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
24dfbe437d
remove dfs_config.h file and fix filesystem lookup issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1332 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-12 00:17:41 +00:00
bernard.xiong@gmail.com
a0cce584a8
fix open directory but without O_DIRECTORY flag issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1313 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-06 15:01:13 +00:00
bernard.xiong@gmail.com
ead014f966
update mkromfs script.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1287 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-22 00:14:23 +00:00
bernard.xiong
84ac86f3d1
fix compiling error.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1252 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-21 10:21:26 +00:00
iamyhw@gmail.com
17b7ae81e2
update SConscript in dfs
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1249 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-18 10:02:13 +00:00
iamyhw@gmail.com
a0b93e8432
update SConscript in dfs
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1248 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-18 10:01:42 +00:00
iamyhw@gmail.com
efb0772053
fix up
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1246 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-16 15:16:09 +00:00
iamyhw@gmail.com
ac07efd463
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1245 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-16 14:15:31 +00:00
iamyhw@gmail.com
0030a2d396
add support uffs interface
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1243 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-16 13:30:54 +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@gmail.com
e97ae6898f
fix compiler warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1236 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 16:07:55 +00:00
bernard.xiong@gmail.com
3ba6d887da
update mkromfs script.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1192 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-12 23:37:56 +00:00
bernard.xiong
83bb6a11bb
fix compiling warning; optimize ls function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1186 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 07:54:00 +00:00
bernard.xiong@gmail.com
f8397a1693
fix mkdir issue; add cd command in finsh.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1185 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 00:07:03 +00:00
wuyangyong
14a840b911
fix cat print buffer no \0
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1176 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-04 07:27:11 +00:00
bernard.xiong
6ae0b45820
fix compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1167 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-01 01:54:26 +00:00
bernard.xiong@gmail.com
753de20643
fix dfs_filesystem_lookup issue in empty item.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1162 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 14:19:12 +00:00
qiuyiuestc
fad87e1f80
fix ssize_t redefinition error when using minilibc
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1160 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 11:39:35 +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
8ccfaa8eb7
cleanup DFS_USING_WORKDIR code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1152 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 05:36:25 +00:00
bernard.xiong
fca005fe0c
change the timeout of NFS link; add copy function in finsh shell.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1138 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 11:32:24 +00:00
bernard.xiong
5d8c15c4bb
rename the private field in device to user_data.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1134 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 07:48:17 +00:00
bernard.xiong@gmail.com
7a80d831c9
update doxygen comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong
872a503a9c
update a dummy romfs data.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1115 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-25 09:27:01 +00:00
bernard.xiong@gmail.com
10732a76e9
cleanup scons building script
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +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@gmail.com
54e77664fa
romfs and dev is usable. fix directory adjustment in ls function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1035 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-31 13:52:58 +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
363ad228a4
add device file system implementation.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-22 10:15:50 +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
qiuyiuestc
8d42ca4e71
delete #define stat _stat
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@932 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-23 11:09:03 +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
qiuyiuestc
f245caa86c
fix memory leak issue
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@900 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-11 03:45:18 +00:00
bernard.xiong@gmail.com
7b76fb6ecd
add UFFS 1.3.2-4 ( http://sourceforge.net/projects/uffs )
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@888 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-02 23:55:14 +00:00
bernard.xiong
a3ca8e33db
add romfs support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@887 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-02 08:46:46 +00:00
bernard.xiong@gmail.com
767c64e69c
fix enum_t and strrchr issue according to superyongzhe patch.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@883 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-28 12:06:13 +00:00
qiuyiuestc
82d4e49881
fix dfs_stat issue
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@882 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-27 13:44:45 +00:00
bernard.xiong@gmail.com
726c787485
fix dfs_subdir issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@880 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-26 15:32:56 +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
33feb176d0
add flush, statfs, mkfs to device file system interface.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@802 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:15:53 +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
qiuyiuestc
1fb4d84837
fix compile error using gcc compiler
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@741 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 14:16:48 +00:00
bernard.xiong@gmail.com
9c7ed22d04
update NFSv3.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@727 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 14:57:51 +00:00
bernard.xiong
0ce26895a5
clean code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@722 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-20 10:31:23 +00:00
bernard.xiong@gmail.com
0fbfdec40d
add NFS v3 filesystem implementation.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-20 00:10:15 +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
bernard.xiong
c988a222ed
fix option check.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@664 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-22 02:27:27 +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
5562ddf77a
add group script support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:27:13 +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