Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757293Ab3HaLpA (ORCPT ); Sat, 31 Aug 2013 07:45:00 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:60459 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757035Ab3HaLoy (ORCPT ); Sat, 31 Aug 2013 07:44:54 -0400 X-Sasl-enc: ZkvfywgJ1HNT9TTVn2XUStWKqE/YQOKpls4RwqOuMSDH 1377949379 Subject: [PATCH 07/10] autofs - create autofs Kconfig and Makefile To: linux-next@vger.kernel.org From: Ian Kent Cc: linux-fsdevel , autofs mailing list , Kernel Mailing List Date: Sat, 31 Aug 2013 19:42:57 +0800 Message-ID: <20130831114256.11807.50167.stgit@perseus.themaw.net> In-Reply-To: <20130831114133.11807.35953.stgit@perseus.themaw.net> References: <20130831114133.11807.35953.stgit@perseus.themaw.net> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2614 Lines: 80 Create Makefile and Kconfig for autofs module. Signed-off-by: Ian Kent --- fs/Kconfig | 1 + fs/Makefile | 1 + fs/autofs/Kconfig | 19 +++++++++++++++++++ fs/autofs/Makefile | 7 +++++++ 4 files changed, 28 insertions(+) create mode 100644 fs/autofs/Kconfig create mode 100644 fs/autofs/Makefile diff --git a/fs/Kconfig b/fs/Kconfig index c229f82..5c071f3 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -65,6 +65,7 @@ source "fs/notify/Kconfig" source "fs/quota/Kconfig" +source "fs/autofs/Kconfig" source "fs/autofs4/Kconfig" source "fs/fuse/Kconfig" diff --git a/fs/Makefile b/fs/Makefile index 1afa0e0..4bf173a 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -102,6 +102,7 @@ obj-$(CONFIG_AFFS_FS) += affs/ obj-$(CONFIG_ROMFS_FS) += romfs/ obj-$(CONFIG_QNX4FS_FS) += qnx4/ obj-$(CONFIG_QNX6FS_FS) += qnx6/ +obj-$(CONFIG_AUTOFS_FS) += autofs/ obj-$(CONFIG_AUTOFS4_FS) += autofs4/ obj-$(CONFIG_ADFS_FS) += adfs/ obj-$(CONFIG_FUSE_FS) += fuse/ diff --git a/fs/autofs/Kconfig b/fs/autofs/Kconfig new file mode 100644 index 0000000..17f77a6 --- /dev/null +++ b/fs/autofs/Kconfig @@ -0,0 +1,19 @@ +config AUTOFS_FS + tristate "Kernel automounter support (supports v3, v4 and v5)" + help + The automounter is a tool to automatically mount remote file systems + on demand. This implementation is partially kernel-based to reduce + overhead in the already-mounted case; this is unlike the BSD + automounter (amd), which is a pure user space daemon. + + To use the automounter you need the user-space tools from + ; you also want + to answer Y to "NFS file system support", below. + + To compile this support as a module, choose M here: the module will be + called autofs. + + If you are not a part of a fairly large, distributed network or + don't have a laptop which needs to dynamically reconfigure to the + local network, you probably do not need an automounter, and can say + N here. diff --git a/fs/autofs/Makefile b/fs/autofs/Makefile new file mode 100644 index 0000000..43fedde --- /dev/null +++ b/fs/autofs/Makefile @@ -0,0 +1,7 @@ +# +# Makefile for the linux autofs-filesystem routines. +# + +obj-$(CONFIG_AUTOFS_FS) += autofs.o + +autofs-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/