forked from TheScarastic/android_kernel_xiaomi_msm8953
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request TheScarastic#3 from namjaejeon/exfat-next
Exfat next
- Loading branch information
Showing
3 changed files
with
87 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,53 @@ | ||
# exfat | ||
linux-exfat for 4.1 ~ the latest linus-tree | ||
## 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/ | ||
``` | ||
|
||
2. edit [linux]/fs/Kconfig | ||
``` | ||
source "fs/fat/Kconfig" | ||
+source "fs/exfat/Kconfig" | ||
source "fs/ntfs/Kconfig" | ||
``` | ||
|
||
3. edit [linux]/fs/Makefile | ||
``` | ||
obj-$(CONFIG_FAT_FS) += fat/ | ||
+obj-$(CONFIG_EXFAT_FS) += exfat/ | ||
obj-$(CONFIG_BFS_FS) += bfs/ | ||
``` | ||
4. make menuconfig and set exfat | ||
``` | ||
File systems ---> | ||
DOS/FAT/NT Filesystems ---> | ||
<M> exFAT filesystem support | ||
(utf8) Default iocharset for exFAT | ||
``` | ||
|
||
build your kernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters