nuttx/fs
Michal Lenc bc9e1ffb01 fs/fat: fix incorrect representation of SFN files created on Linux
Linux creates all files as long file name entries even if they
fit short 8.3 format. This caused issues when deleting or renaming
files as the long file name entry was not recognized and only deleted
it's short file name entry. This basically kept breaking the file
system as subsequent long file name files were not correctly stored.
The typical representation of this issue was long file name being
represented as it's short name alias.

This commit adjusts the LFN/SFN logic a bit - the code now always
fills in long file name and then checks if this could possibly be
a short file entry (we still have to do that because Windows stores
8.3 files as short file entry). This ensures compatibility with
files created both on Linux and Windows.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2026-04-14 09:51:20 +08:00
..
aio include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
binfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
cromfs style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
driver style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
event fs/event/open: fix the inode information update outside of lock 2026-01-28 10:03:06 +08:00
fat fs/fat: fix incorrect representation of SFN files created on Linux 2026-04-14 09:51:20 +08:00
hostfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
inode include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
littlefs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mmap include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mnemofs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mount include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mqueue include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxffs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
partition include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
procfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
romfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
rpmsgfs fs: rpmsgfs_client: add init message to unlock semaphore 2026-04-09 14:07:06 +08:00
semaphore fs/semaphore/open: fix the inode information update outside of lock 2026-01-28 10:03:06 +08:00
shm fs/inode: use file_allocate,file_dup to avoid racecondition to allocate fd 2026-01-09 17:11:25 +08:00
smartfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
socket include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
spiffs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
tmpfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
unionfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
userfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
v9fs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
vfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
zipfs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
CMakeLists.txt fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_heap.c mm/mm_heap: use struct mm_heap_config_s to init the memory heap 2026-01-19 14:18:27 +08:00
fs_heap.h fs_heap:add fs_heap_mallinfo_task 2025-01-15 17:12:50 +08:00
fs_initialize.c fs: Move inotify.c from fs/notify/ to fs/vfs/ 2025-06-23 18:17:10 -03:00
Kconfig fs: disable fs automounter when no signals 2026-02-26 20:03:05 +08:00
Makefile Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00