From owner-freebsd-rc@freebsd.org Wed Sep 23 14:38:26 2015 Return-Path: Delivered-To: freebsd-rc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18F99A06403; Wed, 23 Sep 2015 14:38:26 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D410B1076; Wed, 23 Sep 2015 14:38:21 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA24194; Wed, 23 Sep 2015 17:38:18 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1ZelBa-000Bks-8j; Wed, 23 Sep 2015 17:38:18 +0300 To: FreeBSD Current , freebsd-rc@FreeBSD.org From: Andriy Gapon Subject: dumpdev in loader.conf vs rc.d/dumpon X-Enigmail-Draft-Status: N1110 Cc: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Message-ID: <5602B922.20703@FreeBSD.org> Date: Wed, 23 Sep 2015 17:37:22 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 23 Sep 2015 14:38:26 -0000 I have recently discovered 'dumpdev' kernel environment variable that is settable, for example, from loader.conf. To me it *seems* that this variable has to be set to a device name / path without the leading '/dev'. If that's so, then rc.d/dumpon must prepend '/dev' when passing the value of 'dumpdev' to dumpon(8). -- Andriy Gapon