Commit Graph

140 Commits

Author SHA1 Message Date
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
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
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 6de2d5fe9f remove part of uffs configuration to rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-02 14:28:53 +00:00
goprife@gmail.com 564ca94007 update jffs2, now it can be built with gcc(NEWLIB is needed!)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2453 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-27 06:15:51 +00:00
goprife@gmail.com d5eb16dda2 fix the line break in dfs_elm.c(there are some windows line break characters)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2413 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 16:08:00 +00:00
goprife@gmail.com 583bb26fb2 fix the bug about directory in uffs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2412 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 15:53:54 +00:00
goprife@gmail.com eda62844c1 fix the line break character in ff.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 06:02:40 +00:00
goprife@gmail.com e956eedc20 fill st_blksize of struct stat in dfs_def.h(this filed has nothing to do with jffs2)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2369 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 04:08:54 +00:00
goprife@gmail.com b45dfd0a15 change block_size to pages_per_block in dfs_uffs.c and uffs_nandif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2364 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 01:19:16 +00:00
goprife@gmail.com 2bbd1496a3 update so can be build with vs2005
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2354 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-19 08:59:22 +00:00
sc943313837@gmail.com c77e211d1d add SYNC in function disk_ioctl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-07 05:13:36 +00:00
goprife@gmail.com 6864f3a38b fixed the memory leak in dfs_elm.c found by hezlog@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2292 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-17 02:33:18 +00:00
wuyangyong 01aa24f2c5 update elmfat: add RT_DFS_ELM_CODE_PAGE define.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2285 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-09 05:50:58 +00:00