Commit 6ed38746 authored by Ian Kent's avatar Ian Kent Committed by Linus Torvalds

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.netSigned-off-by: default avatarIan Kent <raven@themaw.net>
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ebc921ca
config AUTOFS4_FS config AUTOFS4_FS
tristate "Kernel automounter version 4 support (also supports v3)" tristate "Kernel automounter version 4 support (also supports v3 and v5)"
default n
help help
The automounter is a tool to automatically mount remote file systems The automounter is a tool to automatically mount remote file systems
on demand. This implementation is partially kernel-based to reduce on demand. This implementation is partially kernel-based to reduce
...@@ -7,14 +8,25 @@ config AUTOFS4_FS ...@@ -7,14 +8,25 @@ config AUTOFS4_FS
automounter (amd), which is a pure user space daemon. automounter (amd), which is a pure user space daemon.
To use the automounter you need the user-space tools from To use the automounter you need the user-space tools from
<https://www.kernel.org/pub/linux/daemons/autofs/v4/>; you also <https://www.kernel.org/pub/linux/daemons/autofs/>; you also want
want to answer Y to "NFS file system support", below. to answer Y to "NFS file system support", below.
To compile this support as a module, choose M here: the module will be This module is in the process of being renamed from autofs4 to
called autofs4. You will need to add "alias autofs autofs4" to your autofs. Since autofs is now the only module that provides the
modules configuration file. autofs file system the module is not version 4 specific.
If you are not a part of a fairly large, distributed network or The autofs4 module is now built from the source located in
don't have a laptop which needs to dynamically reconfigure to the fs/autofs. The autofs4 directory and its configuration entry
local network, you probably do not need an automounter, and can say will be removed two kernel versions from the inclusion of this
N here. change.
Changes that will need to be made should be limited to:
- source include statments should be changed from autofs_fs4.h to
autofs_fs.h since these two header files have been merged.
- user space scripts that manually load autofs4.ko should be
changed to load autofs.ko. But since the module directory name
and the module name are the same as the file system name there
is no need to manually load module.
- any "alias autofs autofs4" will need to be removed.
Please configure AUTOFS_FS instead of AUTOFS4_FS from now on.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment