aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2018-06-07 20:11:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-07 20:34:39 -0400
commit6ed38746041810219ca6b676904f05fe3a8fd333 (patch)
treef2428e692dcac74174199207ab52043f168a405b
parentebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 (diff)
autofs: update fs/autofs4/Kconfig
Update Kconfig and add a depricated warning. [raven@themaw.net: make autofs4 Kconfig depend on AUTOFS_FS] Link: http://lkml.kernel.org/r/152687649097.8263.7046086367407522029.stgit@pluto.themaw.net Link: http://lkml.kernel.org/r/152626706133.28589.11994171621899212952.stgit@pluto.themaw.net Signed-off-by: Ian Kent <raven@themaw.net> Tested-by: Randy Dunlap <rdunlap@infradead.org> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/autofs4/Kconfig32
1 files changed, 22 insertions, 10 deletions
diff --git a/fs/autofs4/Kconfig b/fs/autofs4/Kconfig
index 44727bf18297..53bc592a250d 100644
--- a/fs/autofs4/Kconfig
+++ b/fs/autofs4/Kconfig
@@ -1,5 +1,6 @@
1config AUTOFS4_FS 1config AUTOFS4_FS
2 tristate "Kernel automounter version 4 support (also supports v3)" 2 tristate "Kernel automounter version 4 support (also supports v3 and v5)"
3 default n
3 help 4 help
4 The automounter is a tool to automatically mount remote file systems 5 The automounter is a tool to automatically mount remote file systems
5 on demand. This implementation is partially kernel-based to reduce 6 on demand. This implementation is partially kernel-based to reduce
@@ -7,14 +8,25 @@ config AUTOFS4_FS
7 automounter (amd), which is a pure user space daemon. 8 automounter (amd), which is a pure user space daemon.
8 9
9 To use the automounter you need the user-space tools from 10 To use the automounter you need the user-space tools from
10 <https://www.kernel.org/pub/linux/daemons/autofs/v4/>; you also 11 <https://www.kernel.org/pub/linux/daemons/autofs/>; you also want
11 want to answer Y to "NFS file system support", below. 12 to answer Y to "NFS file system support", below.
12 13
13 To compile this support as a module, choose M here: the module will be 14 This module is in the process of being renamed from autofs4 to
14 called autofs4. You will need to add "alias autofs autofs4" to your 15 autofs. Since autofs is now the only module that provides the
15 modules configuration file. 16 autofs file system the module is not version 4 specific.
16 17
17 If you are not a part of a fairly large, distributed network or 18 The autofs4 module is now built from the source located in
18 don't have a laptop which needs to dynamically reconfigure to the 19 fs/autofs. The autofs4 directory and its configuration entry
19 local network, you probably do not need an automounter, and can say 20 will be removed two kernel versions from the inclusion of this
20 N here. 21 change.
22
23 Changes that will need to be made should be limited to:
24 - source include statments should be changed from autofs_fs4.h to
25 autofs_fs.h since these two header files have been merged.
26 - user space scripts that manually load autofs4.ko should be
27 changed to load autofs.ko. But since the module directory name
28 and the module name are the same as the file system name there
29 is no need to manually load module.
30 - any "alias autofs autofs4" will need to be removed.
31
32 Please configure AUTOFS_FS instead of AUTOFS4_FS from now on.