No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yuezhang Mo 7a55bf46a5 exfat: don't print error log in normal case
When allocating a new cluster, exFAT first allocates from the
next cluster of the last cluster of the file. If the last cluster
of the file is the last cluster of the volume, allocate from the
first cluster. This is a normal case, but the following error log
will be printed. It makes users confused, so this commit removes
the error log.

[1960905.181545] exFAT-fs (sdb1): hint_cluster is invalid (262130)

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2023-07-11 22:20:42 +09:00
.github/workflows exfat: remove generic/286 2022-12-09 23:20:49 +09:00
balloc.c exfat: further fix 'fatal_signal_pending' undeclared 2022-05-18 13:43:00 +09:00
cache.c
dir.c exfat: handle unreconized benign secondary entries 2023-01-13 22:53:51 +09:00
exfat_fs.h exfat: handle unreconized benign secondary entries 2023-01-13 22:53:51 +09:00
exfat_raw.h exfat: handle unreconized benign secondary entries 2023-01-13 22:53:51 +09:00
fatent.c exfat: don't print error log in normal case 2023-07-11 22:20:42 +09:00
file.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-01-08 18:15:09 +09:00
inode.c exfat: remove ->writepage 2023-07-11 22:20:39 +09:00
Kconfig
Makefile exfat: fix typo in Makefile 2021-10-14 22:24:23 -07:00
misc.c exfat: Expand exfat_err() and co directly to pr_*() macro 2022-07-29 17:26:04 +09:00
namei.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-01-08 18:15:09 +09:00
nls.c exfat: Drop superfluous new line for error messages 2022-07-29 17:26:12 +09:00
README.md
super.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-01-08 18:15:09 +09:00

exFAT filesystem

This is the exfat filesystem for support from the linux 4.1 kernel to the latest kernel.

Installing as a stand-alone module

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

Installing as a part of the kernel

  1. Let's take [linux] as the path to your kernel source dir.
	cd [linux]
	cp -ar exfat [linux]/fs/
  1. edit [linux]/fs/Kconfig
	source "fs/fat/Kconfig"
	+source "fs/exfat/Kconfig"
	source "fs/ntfs/Kconfig"
  1. edit [linux]/fs/Makefile
	obj-$(CONFIG_FAT_FS)          += fat/
	+obj-$(CONFIG_EXFAT_FS)       += exfat/
	obj-$(CONFIG_BFS_FS)          += bfs/
  1. make menuconfig and set exfat
	File systems  --->
		DOS/FAT/NT Filesystems  --->
			<M> exFAT filesystem support
			(utf8) Default iocharset for exFAT

build your kernel