summaryrefslogtreecommitdiffstats
path: root/c/src/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Chris Johns <cjohns@cybertec.com.au> andJoel Sherrill2000-06-261-0/+3
| | | | | | | | | | | Jennifer Averett <jennifer.averett@oarcorp.com> to fix appends (O_APPEND at open time) on in-memory files. A call such as: fd = open (file, O_APPEND | O_WRONLY); did not append to the end of the file.
* Patch from Chris Johns <cjohns@cybertec.com.au> andJoel Sherrill2000-06-261-1/+1
| | | | | Jennifer Averett <jennifer.averett@oarcorp.com> to make sure "/" is created with S_IFDIR set.
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-125-22/+22
|
* Increased block size to 128 and added comments based on feedback fromJoel Sherrill2000-02-111-1/+13
| | | | Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
* Spacing corrected.Joel Sherrill2000-01-051-1/+1
|
* Updated copyright notice.Joel Sherrill1999-11-1735-70/+35
|
* Added handler for fsync. For the memfile it is the same as the data sync.Jennifer Averett1999-11-161-1/+1
|
* Added imfs_unixstub.c to satisfy linker problems on UNIX port.Joel Sherrill1999-11-091-0/+71
|
* Correctly set and called handlers table for the link.Jennifer Averett1999-11-051-1/+3
|
* Fixed commentJennifer Averett1999-11-051-1/+1
|
* Moved imfs set handlers prototype to the imfs.h file.Jennifer Averett1999-11-052-6/+4
|
* New file.Joel Sherrill1999-11-051-0/+38
|
* Unmount was failing as a side-effect of splitting the rmnod handlerJoel Sherrill1999-11-057-63/+102
| | | | and not handling every case properly.
* The object memfile.o was being included in the miniIMFS even though itJoel Sherrill1999-11-0210-128/+227
| | | | | | | should not have been. This required that IMFS_rmnod be split into three separate (per file type) routines to avoid dependencies. In the end, a miniIMFS application is 6K smaller than one using the full IMFS.
* Fixed typo where memfile_handlers set twice and directory_handlersJoel Sherrill1999-11-021-3/+3
| | | | was not set.
* Properly initialize location variable.Joel Sherrill1999-11-021-0/+8
|
* Moved the rmnod callback from the operations table to the handler table.Jennifer Averett1999-10-294-4/+14
|
* New files created by split of old imfs_handlers.c.Joel Sherrill1999-10-263-0/+111
|
* Added initial cut at miniIMFS which leaves out memfile and directoryJoel Sherrill1999-10-268-251/+219
| | | | | readdir support. The next step is to add a mount table and configure either the miniIMFS or the full IMFS at the application level.
* Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill1999-10-251-7/+8
| | | | <raguet@crf.canon.fr> to use a local variable.
* Changed leading spaces to periods to ease comparing test output.Joel Sherrill1999-10-251-1/+1
|
* Spacing.Joel Sherrill1999-10-121-0/+1
|
* Split null handlers table to own file and renamed.Joel Sherrill1999-10-124-10/+9
| | | | Renamed IMFS handler tables to include IMFS prefix.
* Added rtems_filesystem_freenode() macro and added calls at appropriateJoel Sherrill1999-10-121-4/+2
| | | | | places to make sure memory allocated for filesystem specifif nodes gets freed.
* Corrected mistakes in the IMFS file handlers table and added the missingJoel Sherrill1999-10-122-0/+30
| | | | routine imfs_fcntl.c
* Added call to freenod to let each filesystem free its own internalJoel Sherrill1999-10-121-4/+16
| | | | node used to manage file access.
* Warning removal from D. V. Henkel-Wallace <gumby@zembu.com>.Joel Sherrill1999-06-141-6/+0
|
* Removed usage of printf.Joel Sherrill1999-05-271-1/+1
|
* Removed asserts that shouldn't be called and commented case where thisJennifer Averett1999-03-312-3/+2
| | | | indicates an internal error.
* Corrected bug where pointer to doubly linked blocks was being incorrectlyJoel Sherrill1999-03-081-2/+34
| | | | calculated.
* Changed IMFS to use IMFS_NAME_MAX as the maximum length of a basenameJoel Sherrill1999-02-247-23/+29
| | | | | | | rather then NAME_MAX. NAME_MAX is 255 and that lets IMFS chew up memory too fast. Perhaps in the future, the places in IMFS that put a maximum length name string on the stack and the jnode structure does not include a maximu length name string can be fixed so this is not a problem.
* Corrected multiple places the file size was not being properly updated.Joel Sherrill1999-02-101-2/+8
|
* Corrected spacing and added some new error checks that were neededJoel Sherrill1999-02-051-9/+9
| | | | to avoid dereferencing NULLs.
* Added imfs_fdatasync routine that gets called from both fdatasync and datasync.Jennifer Averett1998-12-031-0/+26
|
* Added a imfs fdatasync routine that gets called for fdatasync and datasync.Jennifer Averett1998-12-031-0/+4
|
* Modifications for RTEMS_UNIX.Jennifer Averett1998-12-031-1/+10
|
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-2326-0/+4268
overhaul of the RTEMS system call interface. This base file system is the "In-Memory File System" aka IMFS. The design and implementation was done by the following people: + Joel Sherrill (joel@OARcorp.com) + Jennifer Averett (jennifer@OARcorp.com) + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com) + Kerwin Wade (wade@OARcorp.com) PROBLEMS ======== + It is VERY likely that merging this will break the UNIX port. This can/will be fixed. + There is likely some reentrancy/mutual exclusion needed. + Eventually, there should be a "mini-IMFS" description table to eliminate links, symlinks, etc to save memory. All you need to have "classic RTEMS" functionality is technically directories and device IO. All the rest could be left out to save memory.