commit | f6c705d1d91cc6624b70864a32ab55f09bdf5798 | [log] [tgz] |
---|---|---|
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | Mon Sep 04 11:08:43 2023 +0900 |
committer | Namjae Jeon <linkinjeon@kernel.org> | Mon Sep 04 11:09:54 2023 +0900 |
tree | 1842f3241e9d0395a00abf47891d3dd9c8376a51 | |
parent | cc9879a6ce62c90737c19635bfc74c3c93e2b597 [diff] |
exfat: support handle zero-size directory After repairing a corrupted file system with exfatprogs' fsck.exfat, zero-size directories may result. It is also possible to create zero-size directories in other exFAT implementation, such as Paragon ufsd dirver. As described in the specification, the lower directory size limits is 0 bytes. Without this commit, sub-directories and files cannot be created under a zero-size directory, and it cannot be removed. Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by: Andy Wu <Andy.Wu@sony.com> Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This is the exfat filesystem for support from the linux 4.1 kernel to the latest kernel.
Install prerequisite package for Fedora, RHEL:
yum install kernel-devel-$(uname -r)
Build step:
make sudo make install
To load the driver manually, run this as root:
modprobe exfat
cd [linux] cp -ar exfat [linux]/fs/
source "fs/fat/Kconfig" +source "fs/exfat/Kconfig" source "fs/ntfs/Kconfig"
obj-$(CONFIG_FAT_FS) += fat/ +obj-$(CONFIG_EXFAT_FS) += exfat/ obj-$(CONFIG_BFS_FS) += bfs/
File systems ---> DOS/FAT/NT Filesystems ---> <M> exFAT filesystem support (utf8) Default iocharset for exFAT
build your kernel