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 |
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
|
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 |
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 |
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
|
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
|
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 |
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@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@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
|
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 |
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
|
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
|
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
|
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 |