1 2008-04-02 Xinghua Yang <yxinghua@sunnorth.com.cn>
2 Taiyun Wang <taiyun@sunnorth.com.cn>
4 * cdl/ramfs.cdl: Use CYGPKG_FS_RAM_RET_DIRENT_DTYPE to control
5 whether ram sets file type in ramfs_fo_dirread.
6 * src/ramfs.c: Set file type in ramfs_fo_dirread.
7 * tests/ramfs1.c: Test the new d_type in dirent when present.
9 2006-10-05 Andrew Lunn <andrew.lunn@ascom.ch
10 Paluch Sebastian <the_sorcerer&op.pl>
12 * test/ramfs3 (new): Test for lseek bug found in fileio.
13 * cdl/ramfs.cdl: Build new test.
15 2006-06-25 Andrew Lunn <andrew.lunn@ascom.ch>
17 * src/ramfs.c (find_direntry): Don't search off the end of the
18 directory node into hyperspace.
19 * src/ramfs.c (ramfs_getinfo): Support for block usage call.
20 * tests/ramfs1.c (main): Add file system block usage test.
22 2006-05-17 Andy Jackson <andy@grapevinetech.co.uk>
24 * tests/ramfs1.c (createfile): Fix compile warnings.
26 2005-10-01 Andrew Lunn <andrew.lunn@ascom.ch>
28 * src/ramfs.c: Implement holes in files when using BLOCK
29 allocation method. This requires allowing lseek to go past the end
32 * test/ramfs2.c: Extended the lseek test to now seek past the end
33 of the file. With the BLOCK allocation method this will create a
34 whole. With the SIMPLE allocation method is just allocates the
35 memory and fills it with zero.
37 * cdl/ramfs.cdl: Added in interface which both SIMPLE and BLOCK
38 implement. This allows the inference engine to work out is should
39 enable BLOCK if SIMPLE is disabled by the user.
41 2005-10-01 Dan Jakubiec <dan.jakubiec@systech.com>
43 * src/ramfs.c: (ramfs_mount, ramfs_open, ramfs_mkdir) Changed the
44 permissions for files and directories created on RAMFS file systems
45 from 000 to 777. This helps ported applications which wrongly
46 assume there is some security concept and check for the existence
47 of certain file permissions.
49 2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
51 * tests/ramfs1.c (SHOW_RESULT): Fixed compiler warning about format
54 2004-12-13 John Dallaway <jld@ecoscentric.com>
56 * tests/fileio1.c: Rename to ramfs1.c. eCos test names should be
58 * tests/fseek1.c: Rename to ramfs2.c:
59 * cdl/ramfs.cdl: Build the renamed tests.
61 2004-03-29 Andrew Lunn <andrew.lunn@ascom.ch>
63 * test/fseek1.c: Test the fseek/ftell functions
64 * cdl/ramfs.cdl: Added a fseek1 test to the build
66 2004-03-15 Sebastien Couret <sebastien.couret@elios-informatique.fr>
68 * src/ramfs.c (block_init): Fixed compiler warning.
70 2004-02-20 Vincent Catros <Vincent.Catros@elios-informatique.fr>
73 (ramfs_find) Policy to skip path separator is no longer
74 "if '/' then skip" but "while '/' then skip" allowing
75 multi '/' separators (i.e : /tmp////foo).
76 (find_entry) Policy to detect end of path is no longer
77 "if '\0' then end_of_path"
78 but "while '/' skip it and then if '\0' then end_of_path"
79 allowing path terminated with any number of '/'
80 (i.e : chdir(/tmp///)).
82 2004-02-25 Jonathan Larmour <jifl@eCosCentric.com>
84 * src/ramfs.c (findbuffer_node): If pos larger than even INDIRECT2_MAX
85 then return ENOSPC, not EINVAL. Thanks to Vincent Catros for spotting
88 2004-01-08 Vincent Catros <Vincent.Catros@elios-informatique.fr>
90 * src/ramfs.c (ramfs_fo_write): Return ENOSPC when the filesystem
93 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
95 * cdl/ramfs.cdl: Fix doc link.
97 2002-12-06 Andrew Lunn <andrew.lunn@ascom.ch>
99 * cdl/ramfs.cdl: Implements the CYGINT_IO_FILEIO_FS interface
101 2002-01-25 Jonathan Larmour <jlarmour@redhat.com>
103 * tests/fileio1.c (main): Check in listdir that the number of
106 2001-07-26 Jonathan Larmour <jlarmour@redhat.com>
108 * src/ramfs.c (findbuffer_indirect1): Determine correct offset in
110 (findbuffer_indirect2): Ditto.
111 (findbuffer_direct): Compare block index with number of blocks
114 2000-10-05 Nick Garnett <nickg@cygnus.co.uk>
117 Extended to check getcwd() and chdir() functionality more fully.
119 2000-08-18 Nick Garnett <nickg@cygnus.co.uk>
124 Created this example RAM filesystem both as a usable filesystem
125 and as an example of how to build filesystems for the fileio
130 //===========================================================================
131 //####ECOSGPLCOPYRIGHTBEGIN####
132 // -------------------------------------------
133 // This file is part of eCos, the Embedded Configurable Operating System.
134 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
135 // Copyright (C) 2004 eCosCentric Limited
137 // eCos is free software; you can redistribute it and/or modify it under
138 // the terms of the GNU General Public License as published by the Free
139 // Software Foundation; either version 2 or (at your option) any later version.
141 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
142 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
143 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
146 // You should have received a copy of the GNU General Public License along
147 // with eCos; if not, write to the Free Software Foundation, Inc.,
148 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
150 // As a special exception, if other files instantiate templates or use macros
151 // or inline functions from this file, or you compile this file and link it
152 // with other works to produce a work based on this file, this file does not
153 // by itself cause the resulting work to be covered by the GNU General Public
154 // License. However the source code for this file must still be made available
155 // in accordance with section (3) of the GNU General Public License.
157 // This exception does not invalidate any other reasons why a work based on
158 // this file might be covered by the GNU General Public License.
160 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
161 // at http://sources.redhat.com/ecos/ecos-license/
162 // -------------------------------------------
163 //####ECOSGPLCOPYRIGHTEND####
164 //===========================================================================