summaryrefslogtreecommitdiffstats
path: root/c/src/libfs (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-05-282002-05-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill72-12608/+0
* libblock, libfs moved to src/exec for multilib'ing.
2002-04-082002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-0/+14
* 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>.
2002-04-042001-04-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+6
* src/dosfs/Makefile.am: Per PR129 do not install as many files to the $(includedir).
2002-04-042002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-3/+7
* src/dosfs/fat.h: Include <string.h>. Remove DBG1 and DBG2 (unused).
2002-04-042002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-1/+6
* Per PR169. * src/dosfs/config.h.in, src/dosfs/stamp-h2.in: Removed from CVS.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-4/+9
* 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-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill7-7/+13
* 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-202002-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-5/+20
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-152002-03-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-40/+24
Reported and tracked as PR130. * src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX. * wrapup/Makefile.am: Disable dosfs for UNIX.
2002-03-012001-03-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+5
* src/imfs/.cvsignore: Added stamp-h1.in
2002-02-282002-02-28 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill29-2/+6665
* 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-082002-01-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-1/+14
* 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-042002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill17-64/+117
* 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-282001-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-2/+4
* wrapup/Makefile.am: Remove HAS_IMFS.
2001-11-262001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-16/+7
* src/imfs/Makefile.am: Cleanup.
2001-11-082001-11-07 Jennifer Averett <jennifer@OARcorp.com>Joel Sherrill2-10/+7
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR49. * src/imfs/imfs_directory.c: Do not calculate the offset twice.
2001-10-262001-10-26 Victor V. Vengerov <vvv@oktet.ru>Joel Sherrill2-1/+8
* src/imfs/imfs_load_tar.c: Minor modification so this will compile with gcc-2.95.3 with the arguments "-m5200 -O4".
2001-10-162001-10-16 Chris Johns <ccj@acm.org>Joel Sherrill2-48/+53
* imfs/imfs_load_tar.c: Changed the code around to remove an internal compiler error on the Coldfire target.
2001-10-122001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+37
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
2001-10-122001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-36/+0
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
2001-10-112001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+7
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
2001-10-112001-10-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* src/imfs/imfs_getchild.c: Correct length of static string as reported by Ibragimov Ilya <ibr@oktet.ru>.
2001-09-282001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* src/imfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-242001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* src/imfs/Makefile.am: Revamp INCLUDES handling to make automake-1.5 happy.
2001-08-092001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill2-3/+21
* 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-062001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2-7/+47
* src/imfs/deviceio.c: Make sure errno gets set to reflect the status from the driver.
2001-05-252001-05-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+10
* 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-05-072001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-04-242001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+9
* 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-202001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+13
* 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-232001-03-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+10
* 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-052001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-3/+7
* src/imfs/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2001-01-222001-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill41-1/+165
* 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-122001-01-12 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill6-28/+122
* 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 Sherrill13-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-282000-11-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+7
* src/imfs/memfile.c: Bug report from Sturniolo Jose <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
2000-11-172000-11-17 Jennifer Averret <jennifer@OARcorp.com>Jennifer Averett2-16/+20
* src/imfs/imfs_eval.c: Always return imaginary node at mount points.
2000-11-092000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-022000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-012000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill29-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-252000-10-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-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-242000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-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-192000-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-0/+35
* .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore: New files.
2000-10-182000-10-18 Chris Johns <ccj@acm.org>Joel Sherrill7-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-282000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-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-252000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-73/+75
* libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c, libc/imfs_directory.c: Fixed style issues.
2000-08-112000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill2-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.
2000-07-02Fixed stat_ino should be st_ino.Joel Sherrill1-1/+1
2000-06-30Patch from Chris Johns <cjohns@cybertec.com.au> so the directoryJoel Sherrill1-1/+1
read function in the IMFS properly returns the inode number.
2000-06-30Patch from Chris Johns <cjohns@cybertec.com.au> to add support forJoel Sherrill2-13/+17
stat()'ing a symbolic link. This is needed to support the port of the BSD commands like ls to RTEMS.