From patchwork Mon Jun 24 20:52:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 253973 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from userp1050.oracle.com (userp1050.oracle.com [156.151.31.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "userp1050.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by ozlabs.org (Postfix) with ESMTPS id BD0572C007E for ; Tue, 25 Jun 2013 06:55:52 +1000 (EST) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by userp1050.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5OKtoHZ006814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Jun 2013 20:55:50 GMT Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5OKnS5b031865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Jun 2013 20:49:28 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5OKtjnX028984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Jun 2013 20:55:46 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1UrDka-0005LR-PD; Mon, 24 Jun 2013 13:52:36 -0700 Received: from acsinet21.oracle.com ([141.146.126.237]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1UrDkE-0005Fv-Qo for fedfs-utils-devel@oss.oracle.com; Mon, 24 Jun 2013 13:52:14 -0700 Received: from userp1020.oracle.com (userp1020.oracle.com [156.151.31.79]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5OKqEnJ015753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Jun 2013 20:52:14 GMT Received: from manray.1015granger.net (adsl-99-26-161-222.dsl.sfldmi.sbcglobal.net [99.26.161.222]) by userp1020.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5OKpeKl017985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Jun 2013 20:51:41 GMT Received: from manray.1015granger.net (localhost [127.0.0.1]) by manray.1015granger.net (8.14.7/8.14.7) with ESMTP id r5OKqCBO024475 for ; Mon, 24 Jun 2013 16:52:12 -0400 To: fedfs-utils-devel@oss.oracle.com From: Chuck Lever Date: Mon, 24 Jun 2013 16:52:12 -0400 Message-ID: <20130624205212.24374.99996.stgit@manray.1015granger.net> In-Reply-To: <20130624203712.24374.49629.stgit@manray.1015granger.net> References: <20130624203712.24374.49629.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=Vv8aXYGn c=1 sm=1 tr=0 a=VArTBjHSyJYTe+J30wkXtQ==:117 a=VArTBjHSyJYTe+J30wkXtQ==:17 a=dzsqy3y4QnMA:10 a=2PVulxkXM1cA: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.0A090201.51C8B17D.00B5, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 Subject: [fedfs-utils] [PATCH 2/3] 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: userp1040.oracle.com [156.151.31.81] 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