summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-122009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill1-1/+1
PR 1378/filesystem * libfs/src/imfs/deviceio.c: IMFS device lseek should return the current offset.
2009-03-092009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill9-14/+14
PR 1376/filesystem * libcsupport/include/rtems/libio.h, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_file.c, libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/memfile.c, libfs/src/nfsclient/src/nfs.c: lseek handlers should return off_t.
2009-01-292009-01-29 Gene Smith <gene.smith@siemens.com>Joel Sherrill1-1/+1
PR 1363/filesystem * libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written correctly in FAT f/s data.
2008-12-082008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+0
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS. * aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
2008-12-082008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+1
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
2008-09-082008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-20/+20
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
2008-09-06Convert to Unix file format.Ralf Corsepius1-161/+161
2008-09-052008-09-05 Eric Norum <norume@aps.anl.gov>Joel Sherrill1-5/+5
* libfs/src/nfsclient/src/rpcio.c: Correct breakage introduced by Joel removing asserts with side-effects.
2008-09-04Use "bool" instead of "rtems_boolean|boolean".Ralf Corsepius10-39/+39
2008-09-04Change "done" to bool.Ralf Corsepius1-2/+2
2008-09-04Stop using old-style definitions.Ralf Corsepius1-8/+8
2008-08-192008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-71/+89
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c: Remove some warnings. Using ASSERT/assert macros confuses gcc who is unsure actions take place. More importantly if you ever compiled with NDEBUG set wrong, intended actions would not occur. Likely I did not catch all of these.
2008-08-182008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-7/+0
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c, itron/src/task.c, libcsupport/src/newlibc_exit.c, libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c, posix/include/rtems/posix/pthread.h, posix/src/pthread.c, posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h, rtems/src/tasks.c, score/include/rtems/score/stack.h, score/inline/rtems/score/stack.inl, score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix various nested-externs warnings.
2008-08-16Add missing prototype.Ralf Corsepius1-1/+1
2008-08-01Add prototypes.Ralf Corsepius1-31/+31
2008-08-01Add missing prototype.Ralf Corsepius1-1/+1
2008-07-292008-07-29 Chris Johns <chrisj@rtems.org>Chris Johns13-298/+296
* libblock/Makefile.am: Removed src/show_bdbuf.c. * libblock/src/show_bdbuf.c: Removed. * libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c: Rewritten the bdbuf code. Remove pre-emption disable, score access, fixed many bugs and increased performance. * libblock/include/rtems/blkdev.h: Added RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up comments. Added block and user fields to the sg buffer request. Move to rtems_* namespace. * libblock/include/rtems/diskdevs.h, cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a capabilities field for drivers. Change rtems_disk_lookup to rtems_disk_obtain to match the release call. You do not lookup and release a disk, you obtain and release a disk. * libblock/include/rtems/ide_part_table.h, libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c: Move to rtems_* namespace. * libblock/include/rtems/nvdisk.h: Formatting change. * libblock/src/blkdev.c: Move to rtems_* namespace. Change rtems_disk_lookup to rtems_disk_obtain * libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new support for the block number in the scatter/grather request struct. This allows non-continuous buffer requests for those drivers that can support increasing performance. * libblock/src/nvdisk.c: Move to rtems_* namespace. Removed warnings. Added better error checking. Fixed some comments. * libblock/src/ramdisk.c: Move to rtems_* namespace. Added some trace functions to help debugging upper layers. Use the new support for the block number in the scatter/grather request struct. This allows non-continuous buffer requests for those drivers that can support increasing performance. * libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains API. Removed temporary hack and changed set_errno_and_return_minus_one to rtems_set_errno_and_return_minus_one. Move fat_buf_access from header and stopped it being inlined. Updated to libblock changes. * libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use new chains API. Removed temporary hack and changed set_errno_and_return_minus_one to rtems_set_errno_and_return_minus_one. Updated to libblock changes. * libmisc/Makefile.am: Add new ls and rm command files. * libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h, libmisc/shell/filemode.c, libmisc/shell/print-ls.c, libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c, libmisc/shell/vis.c, shell/vis.h: New. * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c: Fixed the usage call bug. * libmisc/shell/main_blksync.c: Updated to the new block IO ioctl command. * libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD commands with more features. * score/src/coremutex.c: Fix the strick order mutex code. * libmisc/shell/shell.c: Change shell tasks mode to be timeslice and no ASR. * sapi/include/confdefs.h: Change ata_driver_task_priority to rtems_ata_driver_task_priority. Add the new BD buf cache parameters with defaults. * score/src/interr.c: Do not return if the CPU halt call returns.
2008-07-10Added S_IRWXU, S_IRWXG and S_IRWXO to file mode.Thomas Doerfler5-3/+16
2008-07-032008-07-03 Chris Johns <chrisj@rtems.org>Chris Johns10-34/+33
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI interface that is supported. * cpukit/libcsupport/Makefile.am, cpukit/libcsupport/preinstall.am: Remove chain.h header references. * cpukit/sapi/include/rtems/chain.h, cpukit/sapi/inline/rtems/chain.inl: New. A supported chains interface. * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to include the new chains interface. * cpukit/libfs/src/imfs/imfs.h, cpukit/libfs/src/imfs/imfs_creat.c, cpukit/libfs/src/imfs/imfs_debug.c, cpukit/libfs/src/imfs/imfs_directory.c, cpukit/libfs/src/imfs/imfs_fsunmount.c, cpukit/libfs/src/imfs/imfs_getchild.c, cpukit/libfs/src/imfs/imfs_load_tar.c, cpukit/libfs/src/imfs/imfs_rmnod.c, cpukit/libfs/src/imfs/memfile.c, cpukit/libfs/src/nfsclient/src/nfs.c, cpukit/libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/malloc_deferred.c, cpukit/libcsupport/src/mount.c, cpukit/libcsupport/src/privateenv.c, cpukit/libcsupport/src/unmount.c: Change to the new chains interface. * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-05-302008-05-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+5
* libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to release node if rtems_filesystem_evaluate_path() fails in nfs_eval_link() since pathloc contains no valid node.
2008-05-27Added const qualifier to various pointers and data tables toThomas Doerfler20-82/+94
reduce size of data area. IMFS: Fixed creation of symbolic links to avoid a compiler warning. DOSFS: Use LibBlock instead of read() to read the boot record.
2008-04-25Handle cluster servers better.Eric Norum1-1/+8
2008-04-24Clean up error handling.Eric Norum1-0/+6
2008-04-032008-04-03 Chris Johns <chrisj@rtems.org>Chris Johns2-11/+0
* libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is external to RTEMS and even if in the cpukit it should not cross reference in this way. * libmisc/shell/shell_getchar.c: New. Taken from the monitor. * libmisc/Makefile.am: Add shell_getchar.c and clean up a little in the shell area. * libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting support.
2008-02-262008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill25-0/+12067
* configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although the use of RPC/XDR could be an issue, the code does build multilib across all targets. There are a few remaining warnings to deal with. * libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac, libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am, libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am, libfs/src/nfsclient/rfc1094.txt, libfs/src/nfsclient/proto/mount_prot.h, libfs/src/nfsclient/proto/mount_prot.x, libfs/src/nfsclient/proto/mount_prot_xdr.c, libfs/src/nfsclient/proto/nfs_prot.h, libfs/src/nfsclient/proto/nfs_prot.x, libfs/src/nfsclient/proto/nfs_prot_xdr.c, libfs/src/nfsclient/src/cexphelp.c, libfs/src/nfsclient/src/dirutils.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/nfs.modini.c, libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c, libfs/src/nfsclient/src/rpcio.h, libfs/src/nfsclient/src/rpcio.modini.c, libfs/src/nfsclient/src/sock_mbuf.c, libfs/src/nfsclient/src/xdr_mbuf.c: New files.
2007-04-162007-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+4
PR 1240/filesystem * libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory for filename was not being freed.
2007-03-082007-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+1
* libfs/src/imfs/imfs.h: Fix comment.
2006-12-122006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-11/+0
* libfs/src/imfs/imfs.h: Remove increment_and_check_linkcounts (unused), decrement_linkcounts (unused, broken).
2006-12-08Use size_t instead of uint32_t for read/write count-args.Ralf Corsepius7-17/+17
2006-11-172006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* configure.ac, Makefile.am, libfs/Makefile.am: Introduce AM_CONDITIONAL(LIBDOSFS).
2006-08-292006-08-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill11-148/+128
* libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c, libfs/src/imfs/imfs_debug.c: Remove warnings.
2006-07-09applied patches for PR1117/1118/1119/1120Thomas Doerfler2-1/+47
2006-01-12New.Ralf Corsepius1-0/+7
2006-01-12Remove all-local.Ralf Corsepius1-3/+1
2006-01-082006-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-3/+3
* libcsupport/src/unixlibc.c, libfs/src/imfs/ioman.c: Change rtems_io_register_name to take a const char *.
2005-10-172005-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-6/+6
* libfs/src/dosfs/msdos_misc.c: Revert to vers. 1.9.
2005-10-062005-10-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-6/+6
PR 828/filesystems * libfs/src/dosfs/msdos_misc.c: Problem retracted. Revert patch.
2005-08-172005-08-17 Nickolay Semyonov <snob@oktetlabs.ru>Joel Sherrill1-2/+2
PR 744/filesystem * libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not support permissions on directories so the check performed by unlink would always fail. The unlink code was modified to support a not supported status being returned.
2005-08-05Introduce msdos_status_t.Ralf Corsepius9-32/+34
2005-05-062005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill7-19/+23
* libblock/src/blkdev.c, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c: Removed warnings.
2005-05-032005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-7/+8
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t instead of char for raw data buffer.
2005-05-022005-05-02 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* libfs/src/dosfs/msdos_format.c, librpc/src/xdr/xdr.c: Added initialization to remove warnings.
2005-02-08Add copy-on-write semantics to rtems_tarfs_load().Eric Norum11-208/+25
2005-02-082005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-34/+4
* configure.ac: Add new header guard to cpuopts.h. * Makefile.am: Add libfs, libblock, ftpd header install rules. * libfs/Makefile.am, libblock/Makefile.am, ftpd/Makefile.am: Remove header install rules.
2005-02-072005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-76/+15
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c, libmisc/untar/untar.h: Various generalizations and fixes.
2005-02-052005-02-05 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+1
* libfs/Makefile.am: Build libfs/src/imfs/imfs_load_tar.c.
2005-01-28New header guard.Ralf Corsepius2-5/+5
2005-01-282005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+0
* itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am: Remove AM_CPPFLAGS += -I$(top_builddir).
2005-01-192005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-6/+6
* libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c: Eliminate warnings.
2005-01-192005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libfs/src/dosfs/fat.c (fat_init_volume_info): Reflect fs_info->sec_buf being a uint8_t.