| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
touched. The order of the questions is the key.
|
|
|
|
|
| |
* src/imfs/deviceio.c: Make sure errno gets set to reflect
the status from the driver.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* src/imfs/Makefile.am: Apply include_*HEADERS instead of H_FILES.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* src/imfs/memfile.c: Bug report from Sturniolo Jose
<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
|
|
|
|
| |
* src/imfs/imfs_eval.c: Always return imaginary node at mount points.
|
|
|
|
| |
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
|
|
| |
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore:
New files.
|
|
* 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.
|