From patchwork Tue Jul 2 19:31:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 256491 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "userp1040.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 108A02C0077 for ; Wed, 3 Jul 2013 05:31:52 +1000 (EST) Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r62JPTTM018525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 2 Jul 2013 19:25:30 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r62JVnNf027044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Jul 2013 19:31:49 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1Uu6In-0000T1-3S; Tue, 02 Jul 2013 12:31:49 -0700 Received: from acsinet22.oracle.com ([141.146.126.238]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1Uu6IU-0000RT-22 for fedfs-utils-devel@oss.oracle.com; Tue, 02 Jul 2013 12:31:30 -0700 Received: from aserp1030.oracle.com (aserp1030.oracle.com [141.146.126.68]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r62JVTEh005192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Jul 2013 19:31:29 GMT Received: from manray.1015granger.net (adsl-99-26-161-222.dsl.sfldmi.sbcglobal.net [99.26.161.222]) by aserp1030.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r62JVS01024376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Jul 2013 19:31:29 GMT Received: from manray.1015granger.net (localhost [127.0.0.1]) by manray.1015granger.net (8.14.7/8.14.7) with ESMTP id r62JVSfZ048428 for ; Tue, 2 Jul 2013 15:31:28 -0400 To: fedfs-utils-devel@oss.oracle.com From: Chuck Lever Date: Tue, 02 Jul 2013 15:31:28 -0400 Message-ID: <20130702193128.48202.1760.stgit@manray.1015granger.net> In-Reply-To: <20130702191631.48202.83851.stgit@manray.1015granger.net> References: <20130702191631.48202.83851.stgit@manray.1015granger.net> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Flow-Control-Info: class=Pass-to-MM reputation=ipRisk-All ip=99.26.161.222 ct-class=T2 ct-vol1=1 ct-vol2=0 ct-vol3=0 ct-risk=58 ct-spam1=0 ct-spam2=0 ct-bulk=0 rcpts=1 size=1562 X-Sendmail-CM-Score: 0.00% X-Sendmail-CM-Analysis: v=2.1 cv=JZ2F8y6V c=1 sm=1 tr=0 a=VArTBjHSyJYTe+J30wkXtQ==:117 a=VArTBjHSyJYTe+J30wkXtQ==:17 a=dzsqy3y4QnMA:10 a=UmuLWrfvGyQA:10 a=dPGociXpb70A:10 a=IkcTkHD0fZMA:10 a=yPCof4ZbAAAA:8 a=Lb1rMZzfAAAA:8 a=o7CsipcnCvUA:10 a=mDV3o1hIAAAA:8 a=9 qa3YWOjAAAA:8 a=QViP3h3cc2XCo-_tLMYA:9 a=QEXdDO2ut3YA:10 a=MqOLCoIKbKUA:10 a=7DSvI1NPTFQA:10 X-Sendmail-CT-Classification: not spam X-Sendmail-CT-RefID: str=0001.0A090208.51D32A91.005D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 Subject: [fedfs-utils] [PATCH 08/11] contrib: Simplify fedfs-utils package installation on FedFS clients X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers List-Id: fedfs-utils Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: acsinet21.oracle.com [141.146.126.237] Instead of editing /etc/auto.master, the fedfs-map-nfs4 program map can be enabled by adding a configuration file under /etc/auto.master.d . Signed-off-by: Chuck Lever --- contrib/init/Makefile.am | 3 ++- contrib/init/README | 2 ++ contrib/init/fedfs.autofs | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 contrib/init/fedfs.autofs diff --git a/contrib/init/Makefile.am b/contrib/init/Makefile.am index c8740ff..7e3dd66 100644 --- a/contrib/init/Makefile.am +++ b/contrib/init/Makefile.am @@ -23,7 +23,8 @@ ## http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt ## -EXTRA_DIST = fedfs README rpcfedfsd rpcfedfsd.service +EXTRA_DIST = fedfs README rpcfedfsd rpcfedfsd.service \ + fedfs.autofs CLEANFILES = cscope.in.out cscope.out cscope.po.out *~ DISTCLEANFILES = Makefile.in diff --git a/contrib/init/README b/contrib/init/README index 45ed56a..ae3f941 100644 --- a/contrib/init/README +++ b/contrib/init/README @@ -24,3 +24,5 @@ rpcfedfsd Sample SysV start-up script for rpc.fedfsd; typically rpcfedfsd.service Sample systemd service file for rpc.fedfsd; see http://0pointer.de/blog/projects/systemd-for-admins-3.html for further details + +fedfs.autofs Copy into /etc/auto.master.d to enable /nfs4 program map diff --git a/contrib/init/fedfs.autofs b/contrib/init/fedfs.autofs new file mode 100644 index 0000000..9ee170a --- /dev/null +++ b/contrib/init/fedfs.autofs @@ -0,0 +1 @@ +/nfs4 /usr/sbin/fedfs-map-nfs4