mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
This patch adds support for the FIOC_FILEPATH ioctl command in the FAT filesystem, allowing applications to retrieve the full path of an open file descriptor. Key features: - Implements fat_getfilepath() to construct file paths by traversing parent directories using ".." entries - Adds fat_findlfnstart() helper to locate the start of LFN sequences - Supports both FAT12/16 and FAT32 filesystem types - Handles both regular directories and root directory traversal This functionality is useful for debugging, logging, and applications that need to track file paths at runtime. Signed-off-by: yinshengkai <yinshengkai@bytedance.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| fs_fat32.c | ||
| fs_fat32.h | ||
| fs_fat32attrib.c | ||
| fs_fat32dirent.c | ||
| fs_fat32util.c | ||
| Kconfig | ||
| Make.defs | ||