From owner-freebsd-arch@FreeBSD.ORG Wed Aug 20 14:14:17 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99F90CF2 for ; Wed, 20 Aug 2014 14:14:17 +0000 (UTC) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23A3A33AA for ; Wed, 20 Aug 2014 14:14:16 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id b8so7430222lan.33 for ; Wed, 20 Aug 2014 07:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to :mime-version:content-type:content-disposition:user-agent; bh=679Ranpv3mj3AMEB7vEKIdLsDV9vUA3k9ZcEWr9DivI=; b=tQbaED1OOuLfgdnYpHquW9W59Ok40jw7DlwhK4c/W+QsBsjk58e+4yu/diO16f7dlt WAK5yypywKplmyU/xTHi9atZ5skpAF/OTcRBLYJQaALWovzTlAPFhUFBf0TggWn3jT1Q VTlee9WUiOpJfR3Oii7VoUtKnbMcp9MozjYqZffbsC1q2CRBk3XmD85xmH5xiCD4WQk1 IUwa2E+6lKp3g556W5LgjSKDyaUgxBuApxevDCVhsnL3HtjqkYmoZqCKKP4aWuwvBt5a 7toMCMI+tyJ2M2tnis2yEjhdvulLZ2zNhLNsq214vKpJV5iTva9ktknceLdvjMAbG8A9 620A== X-Received: by 10.152.36.195 with SMTP id s3mr42458925laj.28.1408544055014; Wed, 20 Aug 2014 07:14:15 -0700 (PDT) Received: from pc5.home (adbj194.neoplus.adsl.tpnet.pl. [79.184.9.194]) by mx.google.com with ESMTPSA id a1sm14515456lak.45.2014.08.20.07.14.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Aug 2014 07:14:14 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Wed, 20 Aug 2014 16:14:11 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: arch@FreeBSD.org Subject: Autofs startup scripts. Message-ID: <20140820141411.GB12179@pc5.home> Mail-Followup-To: arch@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 14:14:17 -0000 As it is now, autofs uses three separate rc.d scripts: automount, automountd, and autounmountd. They execute one utility and two deamons. They are all controlled by a single rc var: autofs_enable. Question is: is this the right way to do it? Would it be better to have only one script instead? If I went this route, how should configuring command line options for each of the three executables work?