mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00

The implementation roughly follows the POSIX specification for rename() [1]. The ordering of operations attempting to minimize the chance for data loss in unexpected circumstances. The 'mv' command was implemented as a front end for the rename operation as that is what most users are likely familiar with in terms of behavior. The 'FAT_RENAME' Kconfig option was added to prevent code size increase on size-oriented builds like SPL. [1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/rename.html Signed-off-by: Gabriel Dalimonte <gabriel.dalimonte@gmail.com>
31 lines
1 KiB
Text
31 lines
1 KiB
Text
config FS_FAT
|
|
bool "Enable FAT filesystem support"
|
|
help
|
|
This provides support for reading images from File Allocation Table
|
|
(FAT) filesystem. FAT filesystem is a legacy, lightweight filesystem.
|
|
It is useful mainly for its wide compatibility with various operating
|
|
systems. You can also enable CMD_FAT to get access to fat commands.
|
|
|
|
config FAT_WRITE
|
|
bool "Enable FAT filesystem write support"
|
|
depends on FS_FAT
|
|
help
|
|
This provides support for creating and writing new files to an
|
|
existing FAT filesystem partition.
|
|
|
|
config FAT_RENAME
|
|
bool "Enable filesystem rename support"
|
|
depends on FAT_WRITE
|
|
help
|
|
This provides support for renaming and moving files within a
|
|
FAT filesystem partition.
|
|
|
|
config FS_FAT_MAX_CLUSTSIZE
|
|
int "Set maximum possible clustersize"
|
|
default 65536
|
|
depends on FS_FAT
|
|
help
|
|
Set the maximum possible clustersize for the FAT filesytem. This
|
|
is the smallest amount of disk space that can be used to hold a
|
|
file. Unless you have an extremely tight memory memory constraints,
|
|
leave the default.
|