summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+1
|
* rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill2017-04-184-40/+5
| | | | | | | | Provide extentions to <inttpes.h> PRIxxx constants for more POSIX types. Start with existing definitions found in RTEMS Project owned code in cpukit/. updates #2983.
* dosfs: Fix file name searchSebastian Huber2017-03-161-17/+7
| | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Update #2939.
* dosfs: Fix race condition msdos_dir_read()Sebastian Huber2017-03-161-5/+5
| | | | | | Obtain file system instance lock before member access. Update #2937.
* dosfs: Rename fat_entries to lfn_entriesSebastian Huber2017-03-161-20/+20
| | | | | The name "fat_entries" for long file name directory entries is quite misleading.
* dosfs: Fix long file name paddingSebastian Huber2017-03-161-3/+3
| | | | Update #2934.
* dosfs: msdos_filename_utf8_to_short_name_for_saveSebastian Huber2017-03-161-15/+10
| | | | Simplify.
* dosfs: Fix msdos_add_file()Sebastian Huber2017-03-161-245/+155
| | | | | | Make sure that long file names work accross cluster boundaries. Update #2929.
* dosfs: Simplify msdos_add_file()Sebastian Huber2017-03-161-4/+2
| | | | Update #2929.
* dosfs: Add and use msdos_lfn_checksum()Sebastian Huber2017-03-163-22/+25
| | | | Update #2929.
* dosfs: Simplify fat_file_open()Sebastian Huber2017-03-161-3/+1
| | | | Update #2929.
* dosfs: Simplify msdos_creat_node()Sebastian Huber2017-03-161-21/+14
| | | | Update #2929.
* dosfs: Fix fat_file_write()Sebastian Huber2017-03-163-30/+11
| | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Update #2622.
* dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber2017-03-161-2/+2
| | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Update #2928.
* dosfs: Fix FAT32 formatterSebastian Huber2017-02-281-2/+2
| | | | | | | | | The second FAT entry contains a bit to indicate if the FAT32 filesystem is not dirty and a bit to indicate if there was no IO error. Set both bits for a fresh filesystem. This prevents a warning if mounted on Windows. Close #2913.
* dosfs: Directories should have a file size of 0Sebastian Huber2017-02-281-1/+6
| | | | Close #2755.
* termios: Add kqueue() and poll() supportSebastian Huber2017-02-232-7/+14
| | | | Real implementation is provided by libbsd.
* Remove old CVS keywordsNick Withers2017-02-152-2/+2
| | | | Update #2388.
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-141-1/+1
| | | | | | For a filename match the entry must match without anything remaining. Close #2908.
* Use <sys/endian.h>Sebastian Huber2017-01-241-13/+5
| | | | Update #2803.
* nfsclient: Fix suspicious conditionSebastian Huber2017-01-231-1/+2
| | | | Close #2700.
* JFFS2: Fix typoSebastian Huber2017-01-191-1/+1
|
* JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTIONSebastian Huber2016-12-203-1/+50
| | | | Update #2844.
* JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTIONSebastian Huber2016-12-202-0/+11
| | | | | | Add IO control to force a garbage collection. Update #2844.
* JFFS2: Add RTEMS_JFFS2_GET_INFOSebastian Huber2016-12-202-5/+171
| | | | | | | Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem instance information. Update #2844.
* imfs: Untangle dependenciesSebastian Huber2016-09-193-89/+116
| | | | | This helps to use IMFS_make_generic_node() without pulling in the complete IMFS implementation.
* imfs: Fix IMFS_stat_file()Sebastian Huber2016-09-162-6/+3
| | | | | Use the adjusted and not the requested memfile bytes per block. Untangle dependencies.
* score: Improve red-black tree debug supportSebastian Huber2016-09-061-0/+3
| | | | Ensure that we extract a node only from the right tree.
* score: Add debug support to red-black treesSebastian Huber2016-08-081-0/+1
| | | | This helps to detect double insert and extract errors.
* Misc: Spell length correctlyJoel Sherrill2016-07-121-1/+1
|
* DOSFS - LENGHT -> LENGTHJoel Sherrill2016-07-124-6/+6
| | | | closes #2756,
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-222-1/+3
|
* pipe: Use proper semaphore attr for mutexSebastian Huber2016-06-061-2/+2
| | | | Close #2728.
* dosfs: Use proper semaphore attr for mutexSebastian Huber2016-06-061-1/+2
| | | | Close #2727.
* libfs/jff2: Avoid printk format warnings.Chris Johns2016-05-253-15/+30
| | | | | This change does not fix the printk format warnings rather it ignores them.
* fat: Fix for invalid cluster sizesSebastian Huber2016-05-201-1/+3
| | | | | | | A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Close #2717.
* nfsclient: Fix warningsSebastian Huber2016-04-224-4/+19
|
* libblock: Drop superfluous <stdlib.h> includeSebastian Huber2016-04-074-0/+4
| | | | | | Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this leads to conflicts with the latest Newlib in case this header file is used in the FreeBSD kernel space, e.g. for USB mass storage support.
* Filesystem: Remove superfluous permission checksSebastian Huber2016-01-052-32/+1
| | | | The permission is check by the upper layer.
* untar: do not exit with error when created directory already exists.Pavel Pisa2015-11-231-1/+17
| | | | | | | | | | | | | | The problem exists for both RTEMS untar implementations and their variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load(). If filesystem object already exists at extracted directory path then if it is directory, creation is ignored. Attempt to delete/unlink object and make directory is tried for other cases. This simple approach problem reported in ticket fixes #2413. Behavior follows GNU tar and BSD tar practice for directories but much more work is required to achieve full semantics of the full featured tar implementation still.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-1/+1
|
* RFS: Fix resource leakSebastian Huber2015-10-261-0/+2
| | | | Close #2433.
* JFFS2: Use RTEMS red-black tree implementationSebastian Huber2015-09-033-453/+112
|
* Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers2015-08-061-3/+45
| | | | closes #2384
* nfsclient: Use an interrupt lockSebastian Huber2015-06-191-21/+29
|
* dosfs: avoid buffer-overread. closes #2292.Gedare Bloom2015-05-271-2/+2
|
* jffs2: Move into separate librarySebastian Huber2015-05-272-1/+18
| | | | | | | In case the zlib compression was used, then the librtemscpu.a depended on libz.a. To avoid a GCC patch or complicated link flags move the JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to link the executable.
* dosfs: Fix warning fixSebastian Huber2015-04-271-1/+1
|
* score: Delete Thread_queue_Control::stateSebastian Huber2015-04-231-25/+0
| | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
* imfs.h: Add cast to remove warning for pointer/integer size mismatchJoel Sherrill2015-03-241-1/+1
|