summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MSDOS Volume semaphore timeout is now NO TIMEOUT. MSDOS volume opertations ↵Chris Johns2003-07-141-2/+3
| | | | will wait for ever.
* 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-085-20/+29
| | | | | | | | | | | | * configure.ac: Remove (Merged-in into ../configure.ac) * Makefile.am, src/Makefile.am, src/dosfs/Makefile.am, src/imfs/Makefile.am: Reflect having merged configure.ac into ../configure.ac. * src/dosfs/config.h: New. * src/dosfs/Makefile.am: Add config.h. * src/imfsfs/config.h: New. * src/imfs/Makefile.am: Add config.h. Remove COMMON_C_FILES, DOC_FILES (Unused).
* 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-084-0/+16
| | | | | | | * src/dosfs/fat.c: include config-header "config.h". * src/dosfs/fat_fat_operations.c: Ditto. * src/dosfs/fat_file.c: Ditto. * src/dosfs/msdos_conv.c: Ditto.
* Patch from Victor V. Vengerov <vvv@oktet.ru> to remove Linux code.Chris Johns2003-07-026-167/+311
|
* Comments have been updated.Chris Johns2003-07-022-3/+2
|
* 2003-06-10 Phil Torre <ptorre@zetron.com>Joel Sherrill2003-06-102-7/+13
| | | | | | PR 411/filesystem * src/imfs/imfs_unlink.c: Fix bug where renaming a memfile and then unlinking it causes a memory leak.
* 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2003-03-257-19/+126
| | | | | | | | | | | PR 367/filesystem * src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h, src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c, src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still present in the DOSFS implementation: - FAT12 did not work properly on Big-Endian machines - Some synchronization and error handling problems were present - Some legal codings for EOC were not recognized
* 2003-02-03 Steven Johnson <sjohnson@neurizon.net>Joel Sherrill2003-02-031-9/+6
| | | | | | PR 338/filesystem * src/imfs/ioman.c: Fix reentrancy problem with rtems_io_lookup_name() (API change).
* 2003-01-03 Eugeny S. Mints <Eugeny.Mints@oktet.ru>Joel Sherrill2003-01-031-1/+1
| | | | | * src/dosfs/msdos_initsupp.c: Specify inherited priority as 0 since this is a FIFO queuing semaphore.
* 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-122-8/+2
| | | | | * src/imfs/Makefile.am: Eliminate C_O_FILES. * src/dosfs/Makefile.am: Ditto.
* 2002-12-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-12-022-15/+15
| | | | | * src/dosfs/fat.h, src/dosfs/msdos.h: Added casts to remove warnings on 16 bit targets like the h8300.
* 2002-10-02 Jennifer Averett <jennifer@OARcorp.com>Joel Sherrill2002-10-021-2/+10
| | | | | | * src/imfs/memfile.c: Fixed case where last close of unlinked file did not remove the resources associated with that file. Reported by Till Straumann <strauman@slac.stanford.edu> on the mailing list.
* 2002-09-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-09-146-18/+26
| | | | | | | | * 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-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-222-2/+2
| | | | | * src/dosfs/Makefile.am: Use .$(OBJEXT) instead of .o. * src/src/imfs/Makefile.am: Ditto.
* 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-222-12/+5
| | | | | | | | * src/dosfs/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES and AM_CFLAGS. Eliminate LIBNAME. * src/imfs/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES and AM_CFLAGS. Eliminate LIBNAME. * wrapup/Makefile.am: Eliminate LIBNAME.
* 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-173-10/+10
| | | | | | | | | * src/dosfs/Makefile.am: Include $(top_srcdir)/../automake/*.am. * src/Makefile.am: Include $(top_srcdir)/../automake/*.am. * src/imfs/Makefile.am: Include $(top_srcdir)/../automake/*.am. * Makefile.am: Include $(top_srcdir)/../automake/*.am. Use ../aclocal. * wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-283-10/+10
| | | | | | | | | | Move from c/src/libfs to c/src/exec/libfs * configure.ac: Reflect move. * Makefile.am: Ditto. * src/Makefile.am: Ditto. * src/dosfs/Makefile.am: Ditto. * src/imfs/Makefile.am: Ditto. * wrapup/Makefile.am: Ditto.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-085-0/+6
| | | | | | | | * src/imfs/imfs_getchild.c: include <string.h>. * src/imfs/imfs_gtkn.c: Include <string.h>. * src/imfs/ioman.c: Include <string.h>. * src/imfs/linearfile.c: Include <string.h>. * src/imfs/memfile.c: Include <string.h>.
* 2001-04-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-041-2/+1
| | | | | * src/dosfs/Makefile.am: Per PR129 do not install as many files to the $(includedir).
* 2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-041-3/+2
| | | | | * src/dosfs/fat.h: Include <string.h>. Remove DBG1 and DBG2 (unused).
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-282-4/+3
| | | | | | * src/dosfs/fat_file.c: Remove bsp.h. fat_file_write(.. const char*buf ..). * src/dosfs/fat_file.h: fat_file_write(.. const char*buf ..).
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-283-3/+0
| | | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * src/dosfs/Makefile.am: Remove AUTOMAKE_OPTIONS. * src/Makefile.am: Remove AUTOMAKE_OPTIONS. * src/imfs/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2002-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-202-2/+3
| | | | | | | | | | | | | Addressing PR 140. * src/dosfs/config.h.in: Removed. * src/dosfs/stamp-h2.in: Removed. * .cvsignore: Add config.h*, stamp-h*. * configure.ac: Remove AC_SRC_DIR(.../dosfs.h). Remove AM_CONFIG_HEADER(src/dosfs/config.h). Remove AM_CONFIG_HEADER(src/imfs/config.h). Add AM_CONFIG_HEADER(config.h). * src/dosfs/Makefile.am: INCLUDES = -I../.. . * src/imfs/Makefile.am: INCLUDES = -I../.. .
* 2002-03-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-151-39/+15
| | | | | | Reported and tracked as PR130. * src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX. * wrapup/Makefile.am: Disable dosfs for UNIX.
* 2001-03-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-03-011-0/+1
| | | | * src/imfs/.cvsignore: Added stamp-h1.in
* 2002-02-28 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill2002-02-2824-1/+6641
| | | | | | | | | | | | | | | | | * DOS filesystem including FAT12, FAT16, and FAT32 support submitted. * src/dosfs, src/dosfs/Makefile.am, src/dosfs/stamp-h2.in, src/dosfs/config.h.in, src/dosfs/dosfs.h, src/dosfs/fat.c, src/dosfs/fat.h, src/dosfs/fat_fat_operations.c, src/dosfs/fat_fat_operations.h, src/dosfs/fat_file.c, src/dosfs/fat_file.h, src/dosfs/msdos.h, src/dosfs/msdos_create.c, src/dosfs/msdos_dir.c, src/dosfs/msdos_eval.c, src/dosfs/msdos_file.c, src/dosfs/msdos_free.c, src/dosfs/msdos_fsunmount.c, src/dosfs/msdos_handlers_dir.c, src/dosfs/msdos_handlers_file.c, src/dosfs/msdos_init.c, src/dosfs/msdos_initsupp.c, src/dosfs/msdos_misc.c, src/dosfs/msdos_mknod.c, src/dosfs/msdos_node_type.c, src/dosfs/.cvsignore: New files. * configure.ac, src/Makefile.am, wrapup/Makefile.am: Modified to reflect addition.
* 2002-01-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-01-082-1/+8
| | | | | | * src/imfs/imfs_load_tar.c: Add include <sys/types.h>. Add include <sys/stat.h>. Add include <fcntl.h>. * src/imfs/imfs_rmnod.c: Add include <stdlib.h>.
* 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-01-0416-64/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-11-261-16/+3
| | | | * src/imfs/Makefile.am: Cleanup.
* 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>Joel Sherrill2001-11-081-10/+2
| | | | | Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR49. * src/imfs/imfs_directory.c: Do not calculate the offset twice.
* 2001-10-26 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill2001-10-261-1/+3
| | | | | * src/imfs/imfs_load_tar.c: Minor modification so this will compile with gcc-2.95.3 with the arguments "-m5200 -O4".
* 2001-10-16 Chris Johns <ccj@acm.org>Joel Sherrill2001-10-161-48/+48
| | | | | * imfs/imfs_load_tar.c: Changed the code around to remove an internal compiler error on the Coldfire target.
* 2001-10-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-10-111-1/+1
| | | | | * src/imfs/imfs_getchild.c: Correct length of static string as reported by Ibragimov Ilya <ibr@oktet.ru>.
* 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-281-1/+1
| | | | * src/imfs/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-241-1/+1
| | | | | * src/imfs/Makefile.am: Revamp INCLUDES handling to make automake-1.5 happy.
* 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill2001-08-091-3/+16
| | | | | * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been touched. The order of the questions is the key.
* 2001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2001-07-061-7/+42
| | | | | * src/imfs/deviceio.c: Make sure errno gets set to reflect the status from the driver.
* 2001-05-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-251-1/+3
| | | | | | | * src/imfs/imfs_initsupp.c: Create the root node with the desired permissions. Nodes should be created with the right permissions because chmod() is not supported by the miniIMFS so changing after creation is not possible.
* 2001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-241-0/+1
| | | | | | | | * src/imfs/memfile.c (memfile_open): Did not set iop->size and thus the value was incorrect. Before this field was cleared, this resulted in the value from the last time that IOP was used being still in place. Discovered by Andrew Bythell <abythell@nortelnetworks.com>.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-201-0/+5
| | | | | | | | * src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print only information that does not vary based on target or memory configuration. The old prints are still there in case they are needed in the future to debug. Printing target dependent addresses makes the test output vary by target unnecessarily.
* 2001-03-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-231-0/+2
| | | | | | | | * src/imfs/memfile.c: Reapply fix from bug report from Jose Sturniolo <jsturnio@nec.com.ar> where NULL pointer was dereferenced when freeing a triply indirect file. The fix was applied to the 4.5 release branch and not the development branch.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-051-3/+3
| | | | * src/imfs/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-2239-1/+157
| | | | | | | * configure.in: Add src/imfs/config.h * src/imfs/Makefile.am: Add INCLUDES += -I. to pickup config.h * src/imfs/.cvsignore: Add config.h and stamp-h * src/imfs/*.c: Add config.h support.
* 2001-01-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2001-01-125-28/+108
| | | | | | | | | | | | | | * 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-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2000-12-1312-7/+390
| | | | | | | | | | | | | * 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-281-0/+2
| | | | | * 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-171-16/+16
| | | | * src/imfs/imfs_eval.c: Always return imaginary node at mount points.
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-0128-28/+28
| | | | | | | | | | | | | | | | | * 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-252-8/+41
| | | | | | | * 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-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-192-0/+4
| | | | | * .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore: New files.