From owner-freebsd-current@freebsd.org Thu Sep 24 11:29:15 2015 Return-Path: Delivered-To: freebsd-current@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 36EB2A0737D; Thu, 24 Sep 2015 11:29:15 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward19j.cmail.yandex.net (forward19j.cmail.yandex.net [IPv6:2a02:6b8:0:1630::f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF31C1F14; Thu, 24 Sep 2015 11:29:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward19j.cmail.yandex.net (Yandex) with ESMTP id 8BFF221548; Thu, 24 Sep 2015 14:29:10 +0300 (MSK) Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id AA5DD1B6047B; Thu, 24 Sep 2015 14:29:09 +0300 (MSK) Received: by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id nsAJW5WdG8-T838Pkrl; Thu, 24 Sep 2015 14:29:09 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1443094149; bh=6kkE7oS6BivrSYcToAZ5sMcJ98m8oh5Xvxx91CBIo9E=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=trkCZKAz5Al6WiGZ1Sah8BEEuS2glgwimaumgfqUCx07d7fQNfowQ8yZszfJe8pqj 0Lw9wrHX80HpmsjcLxdsbYs9xEyio93FwJR1RY4U8XZLPCocOLYLaiiMBr81Wm6xrb QtQmtRs7y0kK0+Iy2y8XELt/LPrsuQXxWgtiqh8M= Authentication-Results: smtp14.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: US Message-ID: <5603DE11.7010008@yandex.ru> Date: Thu, 24 Sep 2015 14:27:13 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Slawa Olhovchenkov CC: Andriy Gapon , cem@FreeBSD.org, FreeBSD Current , freebsd-rc@FreeBSD.org Subject: Re: dumpdev in loader.conf vs rc.d/dumpon References: <5602B922.20703@FreeBSD.org> <5602CDBC.7080906@FreeBSD.org> <5602DA17.7060501@FreeBSD.org> <5603B415.2090405@yandex.ru> <20150924111850.GA3158@zxy.spb.ru> In-Reply-To: <20150924111850.GA3158@zxy.spb.ru> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HvEPREOsHMVX0RB6UO1ukPpeNxm3xJxWf" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 11:29:15 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HvEPREOsHMVX0RB6UO1ukPpeNxm3xJxWf Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 24.09.2015 14:18, Slawa Olhovchenkov wrote: > On Thu, Sep 24, 2015 at 11:28:05AM +0300, Andrey V. Elsukov wrote: >=20 >> On 23.09.2015 19:57, Andriy Gapon wrote: >>> I do not have a strong opinion. Either option, rc.d/dumpon change or= geom_dev >>> change, is fine with me. >> >> I added the ability to set dumpdev via loader. But I wasn't aware that= >> it was used in rc.d script. >> >> If you have set dumpdev kenv, it will be already enabled in the time >> when rc.d/dumpon will be run. So, I think it is useless to try to >> enable dumpdev again. I prefer remove this old code from rc.d script. >=20 > rc.d script can redirect dump to device, not available at boot time, > iSCSI disk, for examle. It doesn't matter. When device will appear, it will be tasted by geom_dev and marked as device applicable for dumping. > dumpdev at boot time can be less size, sufficient for dumping at > booting, but insufficient at working time. This also doesn't matter. Its size doesn't checked. Did you read dumpon script and saw how it use dumpdev tunable? --=20 WBR, Andrey V. Elsukov --HvEPREOsHMVX0RB6UO1ukPpeNxm3xJxWf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWA94SAAoJEAHF6gQQyKF607oH/1p7nMbGcu/hUI3bSFH1gZMH EYndUYlVrK2zmbeExh6+d+NLD3h7bCRD0Ht4Vt2ED1/fbxdYR1bkHqBfJdYqlfCf GB+om9Mg3gGQ/1m98L/OhewDeZLmgrZwWVSomTekBpl3OgB5hzTbGCO8/YXoyVJd 2npdc8UOWhl1SdVz9YMg8lHKcFHEI1KSAATaYznhof63evWqlRDADt3a3u5l5RM3 iY8nfdbBDmtnAaN3PZGZp9h2qmwRQSFoKMA+HetnvqtVXaqSHjDVy2UmeknwBohg Hxwdu38wlXDX6dzii4LIvy3JVlqslyovGEYMphwTJ/K7PRIl18zlYzJCsrgI0L8= =AWM+ -----END PGP SIGNATURE----- --HvEPREOsHMVX0RB6UO1ukPpeNxm3xJxWf--