yangfasheng
|
c16d3de633
|
update dfs.c dfs_file.c dfs_file.h
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
|
2019-01-09 17:40:32 +08:00 |
MurphyZhao
|
5d6c7e0df7
|
[components][dfs] Refix #2100 PR
#2100 PR 增加 `#include <libc.h>` 后,如果定义了 `RT_USING_DFS_DEVFS`,那就必须要开启 LIBC 才可以成功编译,增加了对 RT_USING_LIBC 的依赖。但是,这个修复又是关于开启 POSIX 的时候遇到的问题,因此建议在引入 <libc.h> 的地方,加入对 `RT_USING_POSIX` 的依赖。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-01-05 14:20:44 +08:00 |
gbcwbz
|
0924d277f6
|
[dfs] Fix stdio fd error when POSIX api is used
POSIX api e.g. poll read write
|
2018-12-23 19:14:14 +08:00 |
Bernard Xiong
|
1f37de29c4
|
Fix the value width issue under 32/64 bit arch.
|
2018-12-13 14:54:26 +08:00 |
shaojinchun
|
56c0df1e58
|
修正dfs在fd_get时,未检查有效性的问题
|
2018-12-10 08:33:17 +08:00 |
shaojinchun
|
2a57ba9f96
|
统一getcwd和chdir的加锁方式
|
2018-11-22 18:21:45 +08:00 |
Bernard Xiong
|
e108dfe4a5
|
[libc] Fix the _EXFUN issue in newlib
|
2018-11-10 16:58:07 +08:00 |
armink
|
83b7b763b7
|
The dbg_log API is DISCARDED. Change all dbg_log to LOG_X.
|
2018-11-02 10:20:30 +08:00 |
Bernard Xiong
|
8c1c6516b3
|
[Components] Change license to Apache License v2.0
|
2018-10-29 11:06:58 +08:00 |
zylx
|
8431c05635
|
[dfs] fix ioctl getflag/setflag issue.
|
2018-10-13 10:23:47 +08:00 |
heyuanjie87
|
18510fa80f
|
Update select.c
|
2018-08-14 09:33:22 +08:00 |
heyuanjie87
|
c90b449dac
|
Update select.c
|
2018-08-13 22:42:09 +08:00 |
heyuanjie87
|
d948dba42a
|
update select.c
|
2018-08-12 20:41:56 +08:00 |
heyuanjie
|
fd209cb880
|
[lwp]添加select系统调用
|
2018-08-12 20:26:16 +08:00 |
Bernard Xiong
|
90cef4fbac
|
Merge pull request #1673 from yangfasheng/master
update dfs.c of File System
|
2018-08-01 11:44:53 +08:00 |
heyuanjie
|
c79fbd373f
|
[lwp]给thread添加lwp成员
|
2018-07-30 11:12:12 +08:00 |
yangfasheng
|
e13f1d9e7f
|
update dfs.c of File System
|
2018-07-29 12:07:36 +08:00 |
tangyuxin
|
cea61291e4
|
[components][dfs]修复list_fd打印乱码的问题
|
2018-07-20 15:30:24 +08:00 |
aozima
|
6deeb61efb
|
Merge pull request #1622 from armink/fix_com_init
[components] Update dfs and lwIP 2.0.2 re-initialization process.
|
2018-07-16 20:48:24 +08:00 |
armink
|
6139e6a3cc
|
[dfs] Update error log for dfs.
|
2018-07-14 11:06:59 +08:00 |
armink
|
c779104ef7
|
[dfs] Fix dfs_file_ioctl return check on fcntl.
|
2018-07-13 11:14:36 +08:00 |
armink
|
730981ec42
|
[components] Update dfs and lwIP 2.0.2 re-initialization process.
|
2018-07-13 09:59:03 +08:00 |
aozima
|
f3fc141f5f
|
[dfs] add re-initial check.
|
2018-07-02 16:58:49 +08:00 |
Bluebear233
|
052e6009d0
|
Update dfs.c
修复list_fd打印乱码问题
|
2018-06-29 10:50:16 +08:00 |
tangyuxin
|
839254d976
|
[components][dfs] list_fd 打印信息更加友好
|
2018-06-26 14:01:27 +08:00 |
Bernard Xiong
|
bca65f30a9
|
[lwP] Add light weight process component.
|
2018-06-10 17:57:34 +08:00 |
zyh
|
f68c80126e
|
[Components][DFS]fix if disk free more than 4GB
|
2018-04-27 15:33:22 +08:00 |
Bernard Xiong
|
eb78535604
|
[DFS] Add protection for pt->triggered
|
2018-03-09 08:35:12 +08:00 |
Bernard Xiong
|
4e41b0573b
|
[libc] fix the fcntl issue in newlib
|
2018-02-07 19:55:35 +08:00 |
BernardXiong
|
5a95d35626
|
[DFS] Add fcntl API (same with ioctl in RT-Thread).
|
2017-12-31 14:46:24 +08:00 |
bernard
|
872975b0ab
|
[DFS] add df cmd in msh and provide better display.
re-write for #1138
|
2017-12-31 10:46:24 +08:00 |
parai
|
eade1bbd0f
|
[dfs] fix the issue of stat "/.." of lwext4
|
2017-12-28 13:36:33 +08:00 |
aozima
|
108a1434cd
|
[LWIP] fixed select issues: pollset need clean.
|
2017-12-14 17:04:56 +08:00 |
Bernard Xiong
|
5ec1046ca9
|
[DFS] fix the free issue in fd_is_open
|
2017-12-11 19:22:47 +08:00 |
uestczyh222
|
049ed5047f
|
[Components][USB][DFS][usb minimize stack size dfs fix build error
without finsh]
|
2017-12-07 07:24:37 +08:00 |
Bernard Xiong
|
9508b0e650
|
fix the fs type search issue in mkfs.
|
2017-12-05 20:16:34 +08:00 |
bernard
|
2a83353e5f
|
[DFS] fix the filesystem_operation_table issue.
|
2017-11-30 23:55:22 +08:00 |
bernard
|
1d8636b7f4
|
[DFS] Code cleanup.
|
2017-10-25 18:42:06 +08:00 |
armink
|
b4168cc60d
|
[DFS] Fix `fd_new` failed return value.
|
2017-10-22 22:14:55 +08:00 |
bernard
|
8a38307e2c
|
[libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
|
2017-10-17 22:27:06 +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 |
bernard
|
bc0fbbfe82
|
[DFS] change the cmd to long data type.
|
2017-06-15 14:37:18 +08:00 |
bernard
|
3101ba8ac8
|
[DFS] Add fd checking in dfs_file_close API.
|
2017-06-06 18:19:32 +08:00 |
lizhen9880
|
3e6f64fe7a
|
the file description is modified to local variable in function
static void copydir(const char * src, const char * dst)
|
2017-04-12 10:53:53 +08:00 |
Bernard Xiong
|
e68a3a977a
|
[DFS] Remove stat/fstat function under WIN32 simulation.
|
2016-04-06 01:16:09 +08:00 |
Bernard Xiong
|
455daf8e7a
|
Add ioctl API and fix the read/write conflict issue with newlib's API.
|
2015-12-22 10:18:36 +08:00 |
Bernard Xiong
|
d2ec1f3eaa
|
[DFS] remove st_blksize in the struct stat
|
2015-10-01 06:46:52 +00:00 |
www220@tom.com
|
3bd1a372a0
|
修正mkdir lseek中文件句柄不释放的bug
|
2015-09-11 19:34:37 +08:00 |
Bernard Xiong
|
52e0d3ce0f
|
[DFS] Add fsync function
|
2015-07-16 10:35:42 +08:00 |
Bernard Xiong
|
c6d4407c57
|
[DFS] Fix the fd clear issue.
|
2015-06-04 22:23:53 +08:00 |
Bernard Xiong
|
a7d6e284d0
|
[DFS] Export dfs_subdir/dfs_normalize_path symbol to module.
|
2015-05-02 08:55:08 +08:00 |
Aubr.Cool
|
eb898f69c9
|
Correct dfs fd_is_open search index error
|
2015-01-27 11:00:25 +08:00 |
Grissiom
|
9a75583349
|
dfs: check for null reference
|
2014-10-14 16:09:10 +08:00 |
bernard
|
582aff86ed
|
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
|
2014-08-01 12:03:24 +08:00 |
bernard
|
516711dc1d
|
[DFS] make comments cleanup.
|
2014-08-01 12:03:11 +08:00 |
Bernard Xiong
|
59c128c073
|
[libc] fix compiling warning
|
2014-07-31 09:30:18 +08:00 |
bernard
|
a118801bfe
|
[DFS] Add dfs_filesystem_get_mounted_path() function.
|
2014-06-26 13:59:26 +08:00 |
Grissiom
|
4b7e9c6447
|
dfs: assert the path is not null in dfs_filesystem_lookup
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
|
2014-04-12 16:35:07 +08:00 |
prife
|
f015f36d05
|
dfs: support copy directory
|
2014-02-09 15:27:52 +08:00 |
bernard
|
7fd45f3d44
|
[DFS] remove the unnecessary code
|
2014-01-04 06:05:03 +08:00 |
prife
|
95006bb503
|
Merge pull request #215 from prife/master
fix dfs_unmount bug
|
2013-12-21 04:06:25 -08:00 |
Grissiom
|
1289dff203
|
DFS: let mount fail on device open error
|
2013-12-21 12:15:31 +08:00 |
prife
|
4f9dc273ec
|
dfs: fix dfs_unmount bug
fix #211
|
2013-12-21 11:35:09 +08:00 |
prife
|
27112267e9
|
dfs: rename varialbe name in dfs_filesystem_lookup
empty is confused in dfs_filesystem_lookup.
|
2013-12-21 10:58:52 +08:00 |
prife
|
f4e8820bca
|
dfs: refine more code
clean code with pointer rather than index
|
2013-12-19 13:58:30 +08:00 |
prife
|
7fd6d17d5b
|
dfs: refine code
decrease indentation to make cleaner code
fix mkfs bug when there is no mkfs implementation
|
2013-12-19 00:31:39 +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 |
prife
|
15b08b483a
|
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
|
2013-07-06 16:41:10 +08:00 |
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 |
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
|
4be62911f9
|
show volume size in KBytes in df
|
2013-01-25 12:17:47 +08:00 |
Ming, Bai
|
b4de7cce57
|
Re-normalizing the repo
|
2013-01-08 22:40:58 +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
|
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
|
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
|
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
|
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 |
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 |
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 |
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 |
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
|
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 |
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
|
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 |
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 |
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 |