Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 14:27:13 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        Andriy Gapon <avg@FreeBSD.org>, cem@FreeBSD.org,  FreeBSD Current <freebsd-current@FreeBSD.org>, freebsd-rc@FreeBSD.org
Subject:   Re: dumpdev in loader.conf vs rc.d/dumpon
Message-ID:  <5603DE11.7010008@yandex.ru>
In-Reply-To: <20150924111850.GA3158@zxy.spb.ru>
References:  <5602B922.20703@FreeBSD.org> <CAG6CVpVvStV1pUi8WEBS0T5PaHxFk_HxGi8ch-LXU_DiheyTGw@mail.gmail.com> <5602CDBC.7080906@FreeBSD.org> <CAG6CVpXfBj_-cLj-8EMuAzgk6Ktmh_46e6zBBkZHMBxYW7=Cqg@mail.gmail.com> <5602DA17.7060501@FreeBSD.org> <5603B415.2090405@yandex.ru> <20150924111850.GA3158@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5603DE11.7010008>