| Commit message (Collapse) | Author | Files | Lines |
|
* 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.
|
|
* 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.
|
|
* libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
libc/imfs_directory.c: Fixed style issues.
|
|
* 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.
|
|
|
|
read function in the IMFS properly returns the inode number.
|
|
stat()'ing a symbolic link. This is needed to support the port
of the BSD commands like ls to RTEMS.
|
|
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.
|
|
Jennifer Averett <jennifer.averett@oarcorp.com> to make sure
"/" is created with S_IFDIR set.
|
|
|
|
Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and not handling every case properly.
|
|
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.
|
|
was not set.
|
|
|
|
|
|
|
|
readdir support. The next step is to add a mount table and configure
either the miniIMFS or the full IMFS at the application level.
|
|
<raguet@crf.canon.fr> to use a local variable.
|
|
|
|
|
|
Renamed IMFS handler tables to include IMFS prefix.
|
|
places to make sure memory allocated for filesystem specifif nodes
gets freed.
|
|
routine imfs_fcntl.c
|
|
node used to manage file access.
|
|
|
|
|
|
indicates an internal error.
|
|
calculated.
|
|
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.
|
|
|
|
to avoid dereferencing NULLs.
|
|
|
|
|
|
|
|
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.
|