From owner-freebsd-arch@FreeBSD.ORG Wed Aug 20 16:15:57 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCA6DDC7 for ; Wed, 20 Aug 2014 16:15:57 +0000 (UTC) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (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 476983349 for ; Wed, 20 Aug 2014 16:15:57 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id el20so7641445lab.3 for ; Wed, 20 Aug 2014 09:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=9tz6pRzSioXhyPeMN2Pix2qrWd+bOt74pN40GoGgel0=; b=wFmyyo8T9YVEYxQwSVeyYkIykLZKqMu/U3GwuDWNyqQ3hh6pzgY3zFUP7q9S7nnxM2 U7QTzDV+OeusnjxQVTjuxTXn9CAbf96IMXsqda196oLDhQkFhJWF2b8hMyp2XMgin21z 0H1Mha6PKF0sW1jZ6klYCPYILyk2hZbrTrMlW5SN+DGHaBRTYpQhIhZKSwlHrd2kH45y hofqdNSnygQbl6GNMia9mUxoWo1DNSejTFjPKRpuI3aEyu1FOvLyPb3NytVDBA3CBB0v 3GhXJhkKr58lzvfyJZxPmPUEEoq1UcABcGxq8lsYe5tH3iCdphgULezJHp9GufVSQElZ 7C/A== MIME-Version: 1.0 X-Received: by 10.152.22.165 with SMTP id e5mr22478131laf.57.1408551355016; Wed, 20 Aug 2014 09:15:55 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Wed, 20 Aug 2014 09:15:54 -0700 (PDT) In-Reply-To: <20140820141411.GB12179@pc5.home> References: <20140820141411.GB12179@pc5.home> Date: Wed, 20 Aug 2014 09:15:54 -0700 X-Google-Sender-Auth: juSB_INJEsQz6N3GjeO_CN0oqzE Message-ID: Subject: Re: Autofs startup scripts. From: Craig Rodrigues To: arch@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 16:15:57 -0000 On Wed, Aug 20, 2014 at 7:14 AM, Edward Tomasz Napiera=C5=82a wrote: > 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? You could probably combine everything into one autofs script, since those three scripts are very closely related. You could have separate automount_args, automountd_args, autounmountd_args variables for each binary. There is a freebsd-rc@ mailing list where you can ask for help on this stuff, but it is a low traffic list. -- Craig