summaryrefslogtreecommitdiffstats
path: root/c/src/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2000-12-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2000-12-1313-7/+403
| | | | | | | | | | | | | * src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files. * src/imfs/Makefile.am, src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs". This is not really a tar filesystem. It is a way to load a tar image into the IMFS but actually leave bulky file contents in the original tar image. It essentially adds the linear file type and associated support and a loader routine.
* 2000-11-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-282-0/+7
| | | | | * src/imfs/memfile.c: Bug report from Sturniolo Jose <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
* 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>Jennifer Averett2000-11-172-16/+20
| | | | * src/imfs/imfs_eval.c: Always return imaginary node at mount points.
* 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-092-1/+5
| | | | * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
* 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-022-1/+5
| | | | * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-0129-28/+45
| | | | | | | | | | | | | | | | | * src/imfs/Makefile.am, src/imfs/deviceio.c, src/imfs/imfs_chown.c, src/imfs/imfs_config.c, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_directory.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c, src/imfs/imfs_free.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_gtkn.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_link.c, src/imfs/imfs_mknod.c, src/imfs/imfs_mount.c, src/imfs/imfs_readlink.c, src/imfs/imfs_rmnod.c, src/imfs/imfs_stat.c, src/imfs/imfs_symlink.c, src/imfs/imfs_unixstub.c, src/imfs/imfs_unlink.c, src/imfs/imfs_unmount.c, src/imfs/imfs_utime.c, src/imfs/ioman.c, src/imfs/memfile.c, src/imfs/miniimfs_init.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. Now we do not have to reach up and over to libc to pick them up.
* 2000-10-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-253-8/+48
| | | | | | | * src/imfs/imfs_config.c: New file containing IMFS configuration information split from libc/base_fs.c. * src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously. * src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
* 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-243-2/+10
| | | | | | | | * Makefile.am, configure.in: Introduce GNU canonicalization to libfs/. The approach is currently a bit of a hack as GNU canonicalization does not support the per-BSP build some of the other directories require. As more of the tree is converted, this will become less of an issue.
* 2000-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-195-0/+35
| | | | | * .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore: New files.
* 2000-10-18 Chris Johns <ccj@acm.org>Joel Sherrill2000-10-187-0/+211
| | | | | | | | | | | | | | | | | | | | | | * libfs created. * src, src/imfs, wrapup: New directories. * ChangeLog, Makefile.am, README, configure.in, src/Makefile.am, wrapup/Makefile.am: New files. * src/imfs/deviceio.c, src/imfs/imfs_getchild.c, src/imfs/imfs_readlink.c, src/imfs/imfs.h, src/imfs/imfs_gtkn.c, src/imfs/imfs_rmnod.c, src/imfs/imfs_chown.c, src/imfs/imfs_handlers_device.c, src/imfs/imfs_stat.c, src/imfs/imfs_creat.c, src/imfs/imfs_handlers_directory.c, src/imfs/imfs_symlink.c, src/imfs/imfs_debug.c, src/imfs/imfs_handlers_link.c, src/imfs/imfs_unixstub.c, src/imfs/imfs_directory.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_unlink.c, src/imfs/imfs_eval.c, src/imfs/imfs_init.c, src/imfs/imfs_unmount.c, src/imfs/imfs_fchmod.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_utime.c, src/imfs/imfs_fcntl.c, src/imfs/imfs_link.c, src/imfs/memfile.c, src/imfs/imfs_fdatasync.c, src/imfs/imfs_mknod.c, src/imfs/miniimfs_init.c, src/imfs/imfs_free.c, src/imfs/imfs_mount.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_ntype.c: New files. Moved from libc.
* 2000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-283-9/+9
| | | | | | | | | | | | | | | * libc/libio.h (rtems_filesystem_file_handlers_r, rtems_filesystem_operations_table): Added _h to all structure fields to indicate they are "handlers". * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c, libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c, libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: Modified to reflect above name change.
* 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-252-73/+75
| | | | | * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c, libc/imfs_directory.c: Fixed style issues.
* 2000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill2000-08-112-1/+8
| | | | | | | | | | | | | | | * libc/chmod.c: Return ENOTSUP if filesystem does not have handler. * libc/eval.c: Ditto. * libc/fcntl.c: Ditto. * libc/fsync.c: Ditto. * libc/ioctl.c: Ditto. * libc/ioman.c: Ditto. * libc/link.c: Ditto. * libc/memfile.c: Ditto. * libc/mknod.c: Ditto. * libc/symlink.c: Ditto. * libc/libio.h(rtems_filesystem_dev_major_t): New macro. * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
* Fixed stat_ino should be st_ino.Joel Sherrill2000-07-021-1/+1
|
* Patch from Chris Johns <cjohns@cybertec.com.au> so the directoryJoel Sherrill2000-06-301-1/+1
| | | | read function in the IMFS properly returns the inode number.
* Patch from Chris Johns <cjohns@cybertec.com.au> to add support forJoel Sherrill2000-06-302-13/+17
| | | | | stat()'ing a symbolic link. This is needed to support the port of the BSD commands like ls to RTEMS.
* 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
|