blob: a9fba01c420a6ac0183b3e3c19a07fbb63c35707 [file] [log] [blame]
Alexander Martinzb1387cd2021-06-14 19:06:25 +02001config SDFAT_FS
2 tristate "sdFAT filesystem support"
3 select NLS
4 select NLS_UTF8
5 select NLS_CODEPAGE_437
6 select NLS_ISO8859_1
7 help
8 If you want to use the sdFAT file system, then you must say Y or M
9 here to inlucde sdFAT support.
10 sdFAT is unified FAT-based file system which supports not only fat12/
11 16/32 with vfat but also exfat. sdFAT supports winnt short-name rule.
12 (winnt: emulate the Windows NT rule for display/create.)
13
14 To compile this as a module, choose M here: the module will be called
15 sdfat_core and sdfat_fs.
16
17config SDFAT_USE_FOR_EXFAT
18 bool "Register sdFAT as exFAT"
19 default y
20 depends on SDFAT_FS && !EXFAT_FS
21 help
22 If you want to register sdFAT as available for exFAT, say Y.
23
24config SDFAT_USE_FOR_VFAT
25 bool "Register sdFAT as VFAT"
26 default y
27 depends on SDFAT_FS && !VFAT_FS
28 help
29 If you want to register sdFAT as available for VFAT, say Y.
30
31config SDFAT_DELAYED_META_DIRTY
32 bool "Enable delayed metadata dirty"
33 default y
34 depends on SDFAT_FS
35 help
36 If you enable this feature, metadata(FAT/Directory entry) is updated
37 by flush thread.
38
39config SDFAT_SUPPORT_DIR_SYNC
40 bool "Enable supporting dir sync"
41 default n
42 depends on SDFAT_FS
43 help
44 If you enable this feature, the modification for directory operation
45 is written to a storage at once.
46
47config SDFAT_DEFAULT_CODEPAGE
48 int "Default codepage for sdFAT"
49 default 437
50 depends on SDFAT_FS
51 help
52 This option should be set to the codepage of your sdFAT filesystems.
53
54config SDFAT_DEFAULT_IOCHARSET
55 string "Default iocharset for sdFAT"
56 default "utf8"
57 depends on SDFAT_FS
58 help
59 Set this to the default input/output character set you'd
60 like sdFAT to use. It should probably match the character set
61 that most of your sdFAT filesystems use, and can be overridden
62 with the "iocharset" mount option for sdFAT filesystems.
63
64config SDFAT_CHECK_RO_ATTR
65 bool "Check read-only attribute"
66 default n
67 depends on SDFAT_FS
68
69config SDFAT_ALIGNED_MPAGE_WRITE
70 bool "Enable supporting aligned mpage_write"
71 default y if SDFAT_FS=y
72 default n if SDFAT_FS=m
73 depends on SDFAT_FS
74
75config SDFAT_VIRTUAL_XATTR
76 bool "Virtual xattr support for sdFAT"
77 default n
78 depends on SDFAT_FS
79 help
80 If you enable this feature, it supports virtual xattr.
81 This feature will be deprecated because it might be the same with
82 "context" mount option.
83
84config SDFAT_VIRTUAL_XATTR_SELINUX_LABEL
85 string "Default string for SELinux label"
86 default "u:object_r:sdcard_external:s0"
87 depends on SDFAT_FS && SDFAT_VIRTUAL_XATTR
88 help
89 Set this to the default string for SELinux label.
90
91config SDFAT_SUPPORT_STLOG
92 bool "Enable storage log"
93 default y
94 depends on SDFAT_FS && PROC_STLOG
95
96config SDFAT_DEBUG
97 bool "enable debug features"
98 depends on SDFAT_FS
99 default y
100
101config SDFAT_DBG_IOCTL
102 bool "enable debug-ioctl features"
103 depends on SDFAT_FS && SDFAT_DEBUG
104 default n
105
106config SDFAT_DBG_MSG
107 bool "enable debug messages"
108 depends on SDFAT_FS && SDFAT_DEBUG
109 default y
110
111config SDFAT_DBG_BUGON
112 bool "enable strict BUG_ON() for debugging"
113 depends on SDFAT_FS && SDFAT_DEBUG
114 default n
115
116config SDFAT_DBG_WARNON
117 bool "enable strict WARN_ON() for debugging"
118 depends on SDFAT_FS && SDFAT_DEBUG
119 default n
120
121config SDFAT_STATISTICS
122 bool "enable statistics for bigdata"
123 depends on SDFAT_FS
124 default y
125
126config SDFAT_UEVENT
127 bool "enable uevent"
128 depends on SDFAT_FS
129 default y