From owner-freebsd-rc@FreeBSD.ORG Sat Jan 28 01:06:35 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE670106564A for ; Sat, 28 Jan 2012 01:06:35 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id AF0968FC0C for ; Sat, 28 Jan 2012 01:06:35 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so3515690obc.13 for ; Fri, 27 Jan 2012 17:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=EJN04tjjMbeYjk2w21amlfq3UZ6D68SYd7hJK6KoN08=; b=bx7sAUflBm5bIeBfqDNPrJyvJuSFdWbs7KW0fF7bnRn5CShs2BICQ1YThP0ji/Cug1 22+FqkhSPMz7bP3uzrwbyQUzkbizgFUtv2qbjRlVVaEqYEIz9F9gPcv9GcmjL64x8DQQ sw80qMRyoFsTvKxK9g17lGpXfH9XIn5qpv+3w= MIME-Version: 1.0 Received: by 10.182.49.1 with SMTP id q1mr8603985obn.48.1327712795023; Fri, 27 Jan 2012 17:06:35 -0800 (PST) Received: by 10.182.46.163 with HTTP; Fri, 27 Jan 2012 17:06:34 -0800 (PST) Date: Fri, 27 Jan 2012 17:06:34 -0800 Message-ID: From: Garrett Cooper To: "freebsd-rc@FreeBSD.org" Content-Type: text/plain; charset=ISO-8859-1 Subject: Multiple rc scripts with the same PROVIDEs? X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 01:06:35 -0000 Hi RC folks, Quick question -- is there a reason why multiple scripts PROVIDE the same rc services? Is there a potential drawback to doing this (in particular if there are dependency loops in the scripts)? Thanks! -Garrett $ grep -r PROVIDE: /etc/rc.d/ | grep disks /etc/rc.d/gbde:# PROVIDE: disks /etc/rc.d/encswap:# PROVIDE: disks /etc/rc.d/geli:# PROVIDE: disks /etc/rc.d/ccd:# PROVIDE: disks