Kconfig 4.03 KB
Newer Older
J. R. Okajima's avatar
J. R. Okajima committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: GPL-2.0
config AUFS_FS
	bool "Aufs (Advanced multi layered unification filesystem) support"
	help
	Aufs is a stackable unification filesystem such as Unionfs,
	which unifies several directories and provides a merged single
	directory.
	In the early days, aufs was entirely re-designed and
	re-implemented Unionfs Version 1.x series. Introducing many
	original ideas, approaches and improvements, it becomes totally
	different from Unionfs while keeping the basic features.

if AUFS_FS
choice
	prompt "Maximum number of branches"
	default AUFS_BRANCH_MAX_127
	help
	Specifies the maximum number of branches (or member directories)
	in a single aufs. The larger value consumes more system
	resources and has a minor impact to performance.
config AUFS_BRANCH_MAX_127
	bool "127"
	help
	Specifies the maximum number of branches (or member directories)
	in a single aufs. The larger value consumes more system
	resources and has a minor impact to performance.
config AUFS_BRANCH_MAX_511
	bool "511"
	help
	Specifies the maximum number of branches (or member directories)
	in a single aufs. The larger value consumes more system
	resources and has a minor impact to performance.
config AUFS_BRANCH_MAX_1023
	bool "1023"
	help
	Specifies the maximum number of branches (or member directories)
	in a single aufs. The larger value consumes more system
	resources and has a minor impact to performance.
config AUFS_BRANCH_MAX_32767
	bool "32767"
	help
	Specifies the maximum number of branches (or member directories)
	in a single aufs. The larger value consumes more system
	resources and has a minor impact to performance.
endchoice
J. R. Okajima's avatar
J. R. Okajima committed
46

J. R. Okajima's avatar
J. R. Okajima committed
47
48
49
50
51
52
53
54
config AUFS_SBILIST
	bool
	depends on PROC_FS
	default y
	help
	Automatic configuration for internal use.
	When aufs supports Magic SysRq or /proc, enabled automatically.

J. R. Okajima's avatar
J. R. Okajima committed
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
config AUFS_HNOTIFY
	bool "Detect direct branch access (bypassing aufs)"
	help
	If you want to modify files on branches directly, eg. bypassing aufs,
	and want aufs to detect the changes of them fully, then enable this
	option and use 'udba=notify' mount option.
	Currently there is only one available configuration, "fsnotify".
	It will have a negative impact to the performance.
	See detail in aufs.5.

choice
	prompt "method" if AUFS_HNOTIFY
	default AUFS_HFSNOTIFY
config AUFS_HFSNOTIFY
	bool "fsnotify"
	select FSNOTIFY
endchoice

J. R. Okajima's avatar
J. R. Okajima committed
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
config AUFS_EXPORT
	bool "NFS-exportable aufs"
	depends on EXPORTFS = y
	help
	If you want to export your mounted aufs via NFS, then enable this
	option. There are several requirements for this configuration.
	See detail in aufs.5.

config AUFS_INO_T_64
	bool
	depends on AUFS_EXPORT
	depends on 64BIT && !(ALPHA || S390)
	default y
	help
	Automatic configuration for internal use.
	/* typedef unsigned long/int __kernel_ino_t */
	/* alpha and s390x are int */

J. R. Okajima's avatar
J. R. Okajima committed
91
92
93
94
95
96
97
98
config AUFS_XATTR
	bool "support for XATTR/EA (including Security Labels)"
	help
	If your branch fs supports XATTR/EA and you want to make them
	available in aufs too, then enable this opsion and specify the
	branch attributes for EA.
	See detail in aufs.5.

99
100
101
102
103
104
105
106
107
108
109
110
111
config AUFS_DIRREN
	bool "Workaround for rename(2)-ing a directory"
	help
	By default, aufs returns EXDEV error in renameing a dir who has
	his child on the lower branch, since it is a bad idea to issue
	rename(2) internally for every lower branch. But user may not
	accept this behaviour. So here is a workaround to allow such
	rename(2) and store some extra infromation on the writable
	branch. Obviously this costs high (and I don't like it).
	To use this feature, you need to enable this configuration AND
	to specify the mount option `dirren.'
	See details in aufs.5 and the design documents.

J. R. Okajima's avatar
J. R. Okajima committed
112
113
114
115
116
117
118
119
config AUFS_SHWH
	bool "Show whiteouts"
	help
	If you want to make the whiteouts in aufs visible, then enable
	this option and specify 'shwh' mount option. Although it may
	sounds like philosophy or something, but in technically it
	simply shows the name of whiteout with keeping its behaviour.

J. R. Okajima's avatar
J. R. Okajima committed
120
121
122
123
124
config AUFS_DEBUG
	bool "Debug aufs"
	help
	Enable this to compile aufs internal debug code.
	It will have a negative impact to the performance.
J. R. Okajima's avatar
J. R. Okajima committed
125
endif