summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2124-24/+24
|
* dosfs/fat.c: Remove use of register keywordJoel Sherrill2014-02-031-1/+1
|
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-202-0/+4
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-202-22/+26
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* statvfs filesystem handlers: Remove restrictJoel Sherrill2013-11-273-10/+10
|
* statvfs and ALL filesystem handlers: Add restrict keyword.Daniel Ramirez2013-11-214-12/+14
|
* dosfs: Ensure initially the sector size is used as bdbuf block sizeRalf Kirchner2013-10-181-0/+9
|
* dosfs: Correct handling of iconv() return valueRalf Kirchner2013-09-101-5/+16
|
* dosfs: Eliminate empty case statements that fall through to default.Gedare Bloom2013-09-051-2/+0
| | | | | | | Also eliminates possibly dead code in case the name_type can never actually be MSDOS_NAME_INVALID. 1063860 Logically dead code.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | Change the type for storing the return from iconv to be signed.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | | Fix the type of "cmpltd" to be ssize_t so that assigning it to -1 will terminate processing as intended.
* dosfs: Unintentional integer overflowGedare Bloom2013-09-051-1/+1
| | | | Explicitly promote 32-bit integer to 64-bits for multiplication.
* dosfs: Use unprotected chain operationsSebastian Huber2013-08-212-4/+4
| | | | This area is protected by the FAT file system instance lock.
* documentation: Fix Doxygen commentsSebastian Huber2013-06-141-11/+11
|
* dosfs: DocumentationSebastian Huber2013-06-071-0/+8
|
* dosfs: DocumentationRalf Kirchner2013-06-031-6/+97
|
* dosfs: UTF-8 Support: Multibyte conversionsRalf Kirchner2013-06-033-10/+339
| | | | | | | | | | | | Add optional conversion methods for multibyte strings. With these conversions which make use of iconv and utf8proc it becomes possible to use strings from any language (Czech, Chinese, Arabian, Hebrew, Corean, ...) for file names and directory names. NOTE: Iconv support must be activated during the build of the tool chain for these conversion methods (options --enable-newlib-iconv --enable-newlib-iconv-encodings=[ENCODINGS_YOU_WANT]). Alternatively you can provide your own conversion methods.
* dosfs: UTF-8 Support: UI, backwards compatibilityRalf Kirchner2013-06-0310-560/+1780
| | | | | | | | | User interface and backwards compatibility for UTF-8 support in the FAT file system. Purpose of UTF-8 support is to permit file names and directory names with characters from all kinds of languages (Czech, Chinese, Arabian, Hebrew, Korean, ...). This commit does not yet support multibyte characters. It only contains the user interface and the backwards compatibility.
* dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCERalf Kirchner2013-05-241-0/+7
|
* dosfs: Fix typoRalf Kirchner2013-05-241-1/+1
|
* dosfs: Add statvfs() supportAndrei Mozzhuhin2013-05-163-1/+79
|
* dosfs: PR2091: Fix warningAndreas Heinig2013-02-271-2/+2
|
* dosfs: PR2092: Delete unused functionAndreas Heinig2013-02-271-32/+0
|
* dosfs: Fix file length updateSebastian Huber2013-02-201-2/+3
|
* dosfs: Start scan with a valid data clusterSebastian Huber2013-02-151-26/+16
| | | | | Simpify the loop. Set last cluster to an undefined value in case no free cluster exists.
* dosfs: Fix file extendSebastian Huber2013-02-151-23/+24
| | | | | | Only append a valid cluster chain (cluster added > 0), otherwise we overwrite the root directory cluster (cluster 0) of a FAT12 or FAT16 with arbitrary data.
* dosfs: Ensure valid data cluster countSebastian Huber2013-02-151-1/+6
|
* dosfs: Always release the buffersSebastian Huber2013-01-301-22/+23
| | | | | Release the buffers also if this is not the last reference to the file object since otherwise we may hold modified data indefinitely.
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-101-1/+1
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* cpukit: Add EOL on files missing EOL at EOFJoel Sherrill2013-01-102-2/+2
|
* libfs: Doxygen Clean Up Task #2Mathew Kallada2013-01-045-35/+69
| | | | | | There were minor conflicts and the modifications that were in the repo were favored over the modifications in the submitted patch.
* libfs: Doxygen Enhancement Task #5Mathew Kallada2012-12-284-15/+33
|
* libfs: Doxygen Enhancement Task #6"Mathew Kallada2012-12-2020-64/+192
|
* dosfs: Avoid error caused by bdbuf configurationSebastian Huber2012-12-141-10/+5
| | | | | | The success of a block size change depends on the bdbuf configuration. Do not treat a failed block size change as a hard error. This is only a missed performance optimization.
* dosfs: Add sync_device option for msdos_format()Sebastian Huber2012-12-132-0/+10
|
* dosfs: Fix error status handlingSebastian Huber2012-12-131-16/+18
|
* dosfs: Bugfix for disks of for example 100MB sizeRalf Kirchner2012-12-131-49/+101
|
* dosfs: Whitespace changeRalf Kirchner2012-12-131-1/+0
|
* dosfs: Fix request evaluationRalf Kirchner2012-12-131-4/+0
| | | | | Return the ability to set a cluster size other than one sector for unaligned volumes.
* dosfs: Cluster write optimizationRalf Kirchner2012-12-055-153/+386
| | | | | | Separate cluster write from sector write for quick file write. New test fstests/fsdosfswrite01.
* dosfs: Block size optimizationRalf Kirchner2012-12-054-153/+165
| | | | | | Change block size of bdbuf to the cluster size if the data clusters are aligned on a cluster boundary. This enables fast access to data clusters.
* dosfs: DocumentationRalf Kirchner2012-12-051-34/+81
|
* dosfs: Delete fattype parameter for msdos_format()Ralf Kirchner2012-12-052-143/+161
| | | | | | | | Delete fattype parameter of msdos_format_request_param_t because the FAT type is determined by cluster and disk size. Estimate FAT type and re-evaluate FAT type after exact parameter determination.
* dosfs: Add skip_alignment for msdos_format()Ralf Kirchner2012-12-053-31/+90
| | | | | | | | | | Add skip_alignment parameter of msdos_format_request_param_t. Delete cluster_align parameter of msdos_format_request_param_t. By default the FAT, data cluster, and root directory for FAT12 and FAT16 is aligned on a cluster boundary to optimize performance. Format changes throughout.
* dosfs: Fix msdos_format()Ralf Kirchner2012-12-031-1/+1
| | | | | | For FAT32 msdos_format() used to initialize first FAT entries to non-zero values only if a volume label was given. Absence of these entries made mounting such a FAT32 volume fail.
* dosfs: Lazy update of FAT32 FS info sectorSebastian Huber2012-11-135-86/+84
| | | | | | | | | | | | | | | | | | | | | The FAT32 FS info sector contains hints for the free cluster count and the next free cluster. The previous code read these values during mount and replaced them with invalid values. The shutdown operation updated them with the current values. These values are only hints. Every FAT implementation must cope with arbitrary values. They are intended to speed up certain operations. Now we update the free cluster count and next free culster in the FAT32 FS info sector only during unmount or sync operations and only if the values have changed. This avoids writes to the FS info sector and conforms to the behaviour of Linux and Windows. The application can force an update of these values now with the fsync() and fdatasync() operations. Applications that only read will perform not write operations to the FAT32 FS info sector. The new fat_sync() function performs all non-file specific synchronizations.
* dosfs: Use FAT_UNDEFINED_VALUESebastian Huber2012-11-132-6/+6
|
* Filesystem: Reject removal of root nodesSebastian Huber2012-10-071-8/+0
| | | | | | | Reject the removal of file system instance root nodes in rmdir() and unlink() and return the EBUSY error status. File system instances can be removed with unmount(). Remove root node special cases in IMFS, DOSFS, and RFS.
* dosfs: Use fs_info instead of mt_entrySebastian Huber2012-07-1114-267/+234
|
* dosfs: Fix for no space left on device conditionSebastian Huber2012-06-041-3/+5
| | | | | | The file size was wrong in the no space left on device condition. This resulted in turn in a read of an invalid block which lead to an EIO error status.