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
aozima
a2d1f21b43
[LWIP] fixed closesocket issues: socket has been closed, delete it from file system fd.
2017-12-14 16:52:46 +08:00
Bernard Xiong
2f409c85f1
[Kernel] Use rt_object_get_information to get object chain
2017-12-12 07:36:37 +08:00
Bernard Xiong
4d854ba5a9
Merge pull request #1049 from TanekLiang/romfs_open_fixed
...
[DFS] fix ROMFS get root directory bug
2017-11-28 23:20:09 +08:00
tanek liang
c63ce381fe
[dsf] fix romfs build error in IAR (__weak should in start for variable definition)
2017-11-28 21:40:09 +08:00
tanek liang
5ccbaae150
[DFS] fix ROMFS get root directory bug
2017-11-28 21:38:48 +08:00
DengQilong
e79f9e6b02
fix bsp for lpc54608
2017-11-13 14:18:05 +08:00
Bernard Xiong
9bd094197e
[libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options.
2017-11-05 14:36:48 +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
bernard
bc2abf69e2
[DFS] Fix the ramfs issue.
2017-10-31 09:53:22 +08:00
bernard
cc9667b7a9
[DFS] Fix the RAMFS compiling issue.
2017-10-25 18:41:53 +08:00
bernard
67fff44fdd
[DFS] Fix the UFFS compiling issue.
2017-10-25 16:23:02 +08:00
bernard
5bc690336b
[DFS] Fix the romfs compiling issue.
2017-10-25 14:21:49 +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
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
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
yygg_you
d428166f08
修复 mkfs失败的错误
2017-10-06 09:01:56 +08:00
xieyangrun
6b06cb83e3
rename WEAK to RT_WEAK
2017-09-18 11:32:13 +08:00
bernard
b7cf723162
[DFS] code cleanup
2017-06-15 14:36:59 +08:00
bernard
6e63cbb9be
[DFS] "console" device check.
...
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
Urey
2426efe6b7
delete volatile
2017-05-26 21:05:10 +08:00
Urey
0e82a5b821
fix f_mount when mount more fats
2017-05-26 21:02:59 +08:00
xools
5b50c7e41b
fix fattime different from elmfat definition
2017-04-16 16:13:15 -07:00
lizhen9880
d883f7e23b
fix the f_bsize and f_blocks issue in function dfs_uffs_statfs
2017-04-12 14:32:12 +08:00
Bernard Xiong
5502558df9
[DFS] fix the st_blksize issue in elm fatfs.
2017-04-11 09:33:25 +08:00
unknown
6ee81de429
hichard
2017-02-13 22:33:15 +08:00
Bernard Xiong
7c38c59f62
[DFS] fix the name mistake in socket function.
2016-05-10 09:32:50 +08:00
Bernard Xiong
64feef0dde
[LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net
2016-05-10 09:22:01 +08:00
Bernard Xiong
b39654d5a1
Merge pull request #610 from FlyLu/master
...
[DFS] Fix the ramfs issue.
2016-02-20 19:41:40 +08:00
FlyLu
0b3dd47347
修正ramfs.h中防止重复包含的宏定义名称
...
修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
2016-02-20 14:53:39 +08:00
www220@tom.com
45d46b076f
修正romfs在输入的目录名称比实际的名称短时存在的判断错误
...
比如实际目录为abcde,msh执行 cd abc也能执行成功,判断名称时存在bug
2015-10-14 10:28:25 +08:00
Bernard Xiong
d859e3e8b8
[DFS] export more symbols for dfs_lwip.
2015-10-11 15:38:35 +08:00
Bernard Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
Bernard Xiong
b4e3fb2007
[DFS] add sys/tcp.h and sys/udp.h for compatibility
2015-09-25 07:00:11 +08:00
Bernard Xiong
d1a1cbfdd7
[DFS] add sockaddr_storage structure in sys/socket.h
2015-09-25 06:55:55 +08:00
Bernard Xiong
6362a8606e
[DFS] fix the lwIP select issue
2015-09-24 09:59:34 +00:00
Bernard Xiong
3e310522e0
[DFS] Fix the compiling issue in NFS.
2015-08-03 16:17:27 +08:00
pangwei
570e9470b1
[uffs] fix the SConscript file of uffs.
...
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
Bernard Xiong
7e981e3e26
[DFS] Fix the accept/shutdown issue in dfs_lwip.
2015-05-11 12:32:53 +08:00
Bernard Xiong
b7d069c4c8
[DFS] Add file header for select implementation
2015-05-05 13:23:01 +00:00
Bernard Xiong
3aa144d0be
[DFS] add select implementation.
2015-05-05 13:16:26 +00:00
Bernard Xiong
10d3afde03
[DFS] rename netdb.c to lwip_netdb.c in dfs_lwip.
...
To avoid same file name, therefore change the netdb.c to lwip_netdbc in
dfs_lwip.
2015-05-04 20:34:07 +08:00
Bernard Xiong
854d8866d3
[DFS] fix the compiling issue under Keil MDK.
2015-05-02 22:53:08 +08:00
Bernard Xiong
8dfc80b4a2
[DFS] Add lwIP file system interface for DFS
2015-05-01 08:19:52 +00:00
Bernard Xiong
f36a1d92a4
[DFS] fix the NFS link issue
2015-04-11 01:04:14 +00:00
Bernard Xiong
78ef35f2cf
Merge remote-tracking branch 'coding/master'
2015-04-06 05:16:53 +00:00
Bernard.Xiong
b68d041275
[DFS] add file header infor
2015-04-06 11:52:29 +08:00
Bernard Xiong
1377022b18
[DFS] Use SConscript of each file system to build.
2015-04-03 14:26:18 +00:00
Bernard Xiong
fbd620a7f4
[Kernel] Move the components initailzation to the kernel
2015-02-25 10:50:21 +08:00
Bernard Xiong
01c3460cdb
[DevFS] fix the device none-open issue
2015-01-28 14:13:44 +08:00
Bernard Xiong
ab05daf4ef
[LIBC] fix compiling warning
2014-12-06 07:26:19 +00:00
Grissiom
28ff3ed186
romfs: fix a use-before-set bug on checking the dirent
2014-11-03 17:32:50 +08:00
Grissiom
b43573844d
romfs: rewrite mkromfs.py
2014-11-03 12:20:09 +08:00
Grissiom
e882597f9c
romfs: check the dirent before use it
...
System will crash when the romfs is erased. Add checks before using them
to avoid it.
2014-11-03 12:10:25 +08:00
Grissiom
3531fa71aa
romfs: declare the dummy entry as weak
2014-11-01 17:57:43 +08: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 Xiong
3d80e414ff
[JS] fix the include path issue
2014-02-25 13:43:59 +08:00
Bernard Xiong
0468f0c87e
Add INIT_FS_EXPORT for RAM file system
2014-02-20 22:06:59 +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
5a6ec7dcae
[DFS] fix the wrong field comparison in FAT mount.
2014-01-26 22:43:12 +08:00
bernard
e601c2a6ed
Add sector size check when mounting a FAT file system.
2014-01-26 20:30:37 +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
prife
26a31d662d
dfs: make elmfatfs check secter size everytime
...
more infomation:
http://www.rt-thread.org/phpBB3/topic2965.html
2013-12-21 12:04:19 +08:00
prife
3a33906ab1
simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
...
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
prife
f71f0595d6
DFS/jffs2: fix bug when umount jffs2
...
found by haitao5198
clear mount parition device talbe when jffs2 mount falied
2013-09-28 14:57:05 +08:00
prife
12a6366217
DFS/jffs2: fix file mode init bug in jffs2_open/opendir
...
found by haitao52198
URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
2013-09-28 14:43:00 +08:00
bernard
ac10730492
fix O_APPEND write issue in RAMFS
2013-07-29 14:50:12 +08:00
bernard
ac850ef3f0
add device_open/close in mkfs
2013-07-29 14:43:52 +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
yiyue.fang
873a5de811
reformat the coding style in dfs_ramfs.c
2013-06-29 10:43:03 +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
Bernard Xiong
d80a471680
Fix the memheap_realloc issue
2013-06-03 06:44:35 +08:00
Bernard Xiong
0e16b6dc97
add RAMFS implementation
2013-05-05 07:16:49 +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
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
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
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