guo
ecf2d82159
sync branch rt-smart. ( #6641 )
...
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Meco Man
d1d9c492f8
[bug][dfs] rt_strlen(name) + 1) -> DFS_PATH_MAX
2021-03-27 01:24:32 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Meco Man
b2d3317c6a
remove minilibc
2021-02-23 03:21:16 +08:00
tangyuxin
7d09071858
[components][dfs][nfs] 修复Linux NFS服务器认证问题
2019-06-26 14:38:52 +08:00
tangyuxin
e71ec65549
[components][dfs]格式化代码
2019-04-08 14:51:01 +08:00
Bernard Xiong
b5e9927b85
[license] Change the license of FS/DFS to Apache.
2018-10-15 01:46:07 +08:00
SummerGift
3b548038e1
[nfs] : optimize code format
2017-12-23 17:01:01 +08:00
SummerGift
e8ec10d5e7
[nfs] : upgrade from gethostbyname to getaddrinfo
2017-12-23 16:55:54 +08:00
SummerGift
98d8145661
[nfs] : fix bug in nfs when enable ipv6
2017-12-23 11:58:23 +08:00
SummerGift
d051c6dec0
[nfs]:Format Optimize
2017-12-15 17:31:12 +08:00
SummerGift
4d0e205406
[nfs]:Format Optimize
2017-12-15 17:31:11 +08:00
SummerGift
4779429ab0
[dfs]:fix bug in nfs caused by struct dfs_fd
2017-12-15 17:31:11 +08:00
DengQilong
e79f9e6b02
fix bsp for lpc54608
2017-11-13 14:18:05 +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
ArdaFu
b72bdefa46
[DFS][NFS] Fix compile error. Move nfs_file/nfs_dir data ptr into struct nfs_filesystem.
2017-10-17 13:53:39 +08:00
Bernard Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
Bernard Xiong
3e310522e0
[DFS] Fix the compiling issue in NFS.
2015-08-03 16:17:27 +08:00
Bernard Xiong
f36a1d92a4
[DFS] fix the NFS link issue
2015-04-11 01:04:14 +00:00
Bernard Xiong
1377022b18
[DFS] Use SConscript of each file system to build.
2015-04-03 14:26:18 +00:00
Bernard Xiong
b081df6b93
[NFS] fix opendir failed issue.
2014-11-01 10:53:44 +08:00
bernard
6469a5a3d1
[DFS] fix compiling warning.
2014-04-02 14:02:36 +08:00
bernard
6cab3b7dfa
[DFS] fix compiling warning in NFS
2014-03-10 11:48:47 +08:00
Bernard Xiong
d0d239cd4c
[DFS] fix compiling warning for NFS file system
2014-03-10 11:21:50 +08:00
bernard
201d11bb2f
[DFS] Fix file size issue
...
This issue causes fstat & lseek not correct.
2014-02-01 21:35:23 +08:00
bernard
2188d06003
[DFS] remove a compiling warning
2014-01-11 16:34:15 +08:00
prife
c07a78ae00
nfs: fix bug
...
I have to mention that this bug is introduced by myself, in the last
commit <fd07f30f511335f506ae6557e300093d4dde421e> to dfs_nfs.c
2014-01-11 14:57:02 +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
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
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
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
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
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
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
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
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
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
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
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
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
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