summaryrefslogtreecommitdiff
path: root/cpukit/libfs/src/dosfs (follow)
AgeCommit message (Collapse)Author
2019-10-01dosfs: Fix format with media block sizes > 512Sebastian Huber
2019-04-02doxygen: Added groups to IO libraryAndreas Dachsberger
Update #3706.
2019-02-28Remove explicit file names from @fileSebastian Huber
This makes the @file documentation independent of the actual file name. Update #3707.
2019-02-05fs: Add struct dirent::d_type supportSebastian Huber
2018-12-04Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara
2018-11-27dosfs: Fix device identifierSebastian Huber
Update #3358.
2018-08-07dosfs: Avoid deprecated routineSebastian Huber
Update #3358.
2018-02-02dosfs: Use self-contained recursive mutexSebastian Huber
Update #2843.
2018-01-25Remove make preinstallChris Johns
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2017-12-13dosfs: Include <rtems/dosfs.h>Sebastian Huber
Prepare for header file move to common include directory. Update #3254.
2017-12-07dosfs: Allow creating a file with similar name.Christian Mauderer
If there is already a file with a long file name it isn't possible to create a second file which has a name that ends on the first files name (for example ets.beam and sets.beam). This patch fixes that. Update #3258.
2017-12-05dosfs: Fix files with same name as volume name.Christian Mauderer
Take care that a file in the root directory with the same name as the volume name can be found. Update #3257.
2017-09-15libio: Add rtems_libio_iop_is_append()Sebastian Huber
Update #3132.
2017-09-06dosfs: Fix fat_file_update()Sebastian Huber
Do not update the non-existant meta-data of the root directory. Update #2944.
2017-09-06dosfs: Fix find name next entry preparationSebastian Huber
Update #2964.
2017-09-06dosfs: Fix msdos_dir_read()Sebastian Huber
Set a proper name buffer length for each converter invocation. Update #2987.
2017-09-06dosfs: Support a cluster size of 64KiBSebastian Huber
Close #3003.
2017-07-14posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel
Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
2017-03-16dosfs: Fix file name searchSebastian Huber
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.
2017-03-16dosfs: Fix race condition msdos_dir_read()Sebastian Huber
Obtain file system instance lock before member access. Update #2937.
2017-03-16dosfs: Rename fat_entries to lfn_entriesSebastian Huber
The name "fat_entries" for long file name directory entries is quite misleading.
2017-03-16dosfs: Fix long file name paddingSebastian Huber
Update #2934.
2017-03-16dosfs: msdos_filename_utf8_to_short_name_for_saveSebastian Huber
Simplify.
2017-03-16dosfs: Fix msdos_add_file()Sebastian Huber
Make sure that long file names work accross cluster boundaries. Update #2929.
2017-03-16dosfs: Simplify msdos_add_file()Sebastian Huber
Update #2929.
2017-03-16dosfs: Add and use msdos_lfn_checksum()Sebastian Huber
Update #2929.
2017-03-16dosfs: Simplify fat_file_open()Sebastian Huber
Update #2929.
2017-03-16dosfs: Simplify msdos_creat_node()Sebastian Huber
Update #2929.
2017-03-16dosfs: Fix fat_file_write()Sebastian Huber
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.
2017-03-16dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber
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.
2017-02-28dosfs: Fix FAT32 formatterSebastian Huber
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.
2017-02-28dosfs: Directories should have a file size of 0Sebastian Huber
Close #2755.
2017-02-14dosfs: Fix msdos_find_file_in_directory()Sebastian Huber
For a filename match the entry must match without anything remaining. Close #2908.
2017-01-24Use <sys/endian.h>Sebastian Huber
Update #2803.
2016-07-12DOSFS - LENGHT -> LENGTHJoel Sherrill
closes #2756,
2016-06-06dosfs: Use proper semaphore attr for mutexSebastian Huber
Close #2727.
2016-05-20fat: Fix for invalid cluster sizesSebastian Huber
A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Close #2717.
2016-04-07libblock: Drop superfluous <stdlib.h> includeSebastian Huber
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.
2015-05-27dosfs: avoid buffer-overread. closes #2292.Gedare Bloom
2015-04-27dosfs: Fix warning fixSebastian Huber
2015-03-06Fix a number of minor Doxygen formatting issuesJoel Sherrill
2015-03-05dosfs: Fix warningsSebastian Huber
2015-02-09Filesystem: Delete unused fsmountme_h handlerSebastian Huber
2015-01-22Filesystem: Delete node type operationSebastian Huber
Use the fstat handler instead.
2014-11-27msdos_file.c: Reverse return codes per GedareJoel Sherrill
2014-11-26dosfs/msdos_misc.c: Remove unnecessary operationJosh Oguin
CodeSonar flagged the increment of this pointer as unneeded. The pointer is not used past this point.
2014-11-26dosfs/msdos_file.c: Return an error if it occursJosh Oguin
CodeSonar flagged this as a case where the return value from fat_sync() was not used. Now it is used to return pass/fail to the caller.
2014-11-26dosfs/msdos_conv.c: Remove unnecessary operationsJosh Oguin
These were flagged by CodeSonar. The assignments on variable declaration are overridden a few lines below and the other line later with name_size is where name_size was not used after this assignment.
2014-11-21dosfs/fat_fat_operations.c: Explicitly ignore return (Coverity ID 26048)Joel Sherrill
Coverity spotted that the return code from fat_set_fat_cluster() was ignored. But it should be because we want to return the status that caused us to hit the cleanup path.
2014-11-21dosfs/msdos_format.c: Dead code removal (Coverity ID 1255325)Joel Sherrill
Coverity identified that ret_val was never set except to be initialized to 0. Thus the code could not be executed.