summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-09-142002-09-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+5
* src/dosfs/fat.c, src/imfs/deviceio.c, src/imfs/imfs.h, src/imfs/imfs_directory.c, src/imfs/imfs_fchmod.c, src/imfs/memfile.c: Eliminated warnings. A lot of this focus was on changing read and write entry points to return ssize_t as read(2) and write(2) now do.
2002-01-042002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+4
* src/imfs/imfs_eval.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/memfile.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_readlink.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_unlink.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_link.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_chown.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/ioman.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_mount.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_directory.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_stat.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_fchmod.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_symlink.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_mknod.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/linearfile.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs_unmount.c: Include <rtems/seterr.h>. Apply rtems_set_errno_and_return_minus_one. * src/imfs/imfs.h: Apply rtems_set_errno_and_return_minus_one. Comment out increment_and_check_linkcounts.
2001-01-122001-01-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill1-2/+2
* src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/memfile.c, src/imfs/miniimfs_init.c: Final developmental update to "tarfs". When rtems_tarfs_load() is called, it checks the permissions on each file. If there is write permission, it just creates a standard file using "creat()" and therefore, uses the IMFS MEMORY_FILE. If there is no write permission, it creates a LINEAR_FILE node with the appropriate properties. If the permission is ever changed to writeable, IMFS_fchmod converts it to a regular memory file.
2000-12-132000-12-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill1-1/+28
* 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-06-12Merged from 4.5.0-beta3aJoel Sherrill1-8/+8
2000-02-11Increased block size to 128 and added comments based on feedback fromJoel Sherrill1-1/+13
Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1999-11-05Moved imfs set handlers prototype to the imfs.h file.Jennifer Averett1-0/+4
1999-11-05Unmount was failing as a side-effect of splitting the rmnod handlerJoel Sherrill1-5/+6
and not handling every case properly.
1999-11-02The object memfile.o was being included in the miniIMFS even though itJoel Sherrill1-4/+31
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.
1999-10-26Added initial cut at miniIMFS which leaves out memfile and directoryJoel Sherrill1-1/+15
readdir support. The next step is to add a mount table and configure either the miniIMFS or the full IMFS at the application level.
1999-10-12Split null handlers table to own file and renamed.Joel Sherrill1-4/+3
Renamed IMFS handler tables to include IMFS prefix.
1999-10-12Corrected mistakes in the IMFS file handlers table and added the missingJoel Sherrill1-0/+5
routine imfs_fcntl.c
1999-02-24Changed IMFS to use IMFS_NAME_MAX as the maximum length of a basenameJoel Sherrill1-15/+21
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.
1998-12-03Added a imfs fdatasync routine that gets called for fdatasync and datasync.Jennifer Averett1-0/+4
1998-11-23Added base version of file system infrastructure. This includes a majorJoel Sherrill1-0/+445
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.