Commit Graph

107 Commits

Author SHA1 Message Date
armink c779104ef7 [dfs] Fix dfs_file_ioctl return check on fcntl. 2018-07-13 11:14:36 +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