From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 11 00:54:15 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8A8D106566C for ; Tue, 11 Jan 2011 00:54:15 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [95.108.130.119]) by mx1.freebsd.org (Postfix) with ESMTP id 53BEF8FC13 for ; Tue, 11 Jan 2011 00:54:15 +0000 (UTC) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward15.mail.yandex.net (Yandex) with ESMTP id 39A4F44588AB; Tue, 11 Jan 2011 03:38:37 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1294706317; bh=lSuaBfU0EozT2Ns3RUcViajDIr4sPTh6S8CzT+z+Gi8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=Lf+FV+pt9QN4M0ZuF59F6rOKR0oRtBycXNeR/a7PGW6Y+YJS7RLGPDbyfMqAaMJfb 7Bx3sO22SoRrXDKNTCNvKnTpQWTC2KlbVkFuk45rX7bPYNfHCz3xAVb7I3qrFVwN2t lOhRQZuwSOZU8rr/bbYeUIW3xP31s1DLv/TdkO/g= Received: from [178.141.6.99] (dynamic-178-141-6-99.kirov.comstar-r.ru [178.141.6.99]) by smtp14.mail.yandex.net (Yandex) with ESMTPSA id E220719B8067; Tue, 11 Jan 2011 03:38:36 +0300 (MSK) Message-ID: <4D2BA67F.8050801@yandex.ru> Date: Tue, 11 Jan 2011 03:38:23 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101030 Thunderbird/3.1.6 MIME-Version: 1.0 To: Luigi Rizzo References: <4D295820.20807@tomjudge.com> <20110110233330.GA9190@onelab2.iet.unipi.it> In-Reply-To: <20110110233330.GA9190@onelab2.iet.unipi.it> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF2C576B910141C78195D450B" Cc: Tom Judge , freebsd-hackers@freebsd.org Subject: Re: Boot0cfg bug redux (Re: sys/boot/boot0/boot0.S - r186598) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 00:54:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF2C576B910141C78195D450B Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 11.01.2011 02:33, Luigi Rizzo wrote: > As a consequence, if we reboot without pressing an F-key, the system > boots from partition s1 even though the boot loader indicates F2. > So, to summarize, I guess that a possible fix (that does not involve > using gpart, or even worse, modifying boot0.S, which probably does > not have any spare space) is to modify boot0cfg so that it sets the > 'active' flag for the partition corresponding to the default entry. >=20 > What do people think ? I don't remember which behavior was before, but it seems that users want to change "active" attribute when they use "boot0cfg -s". And i think it is not so hard to add several lines of code to pass "set" command to PART class. --=20 WBR, Andrey V. Elsukov --------------enigF2C576B910141C78195D450B 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.0.16 (FreeBSD) iQEcBAEBAgAGBQJNK6aGAAoJEAHF6gQQyKF6q80H/1jNtnjWqYgGL7WclOinqXNf kZmQ8V0bequfZBsYUi5/6RPq8CL8nRO8Uqp10vt0EMjlmaL4GDnijwpbUZUjDZ0U 2OBOmVHFESbyr9AoIU0pgxvmv4XRYdKFSc5bn+1XbO4+1sblvQ65Uu7yxNgRgEuJ 17jOFLRLC+85Bxz7INbi5WTtedkqZIpD1bW6q0Bi7Y2Z9fDbezPkD2gUmXemsWvy F1sp3l1Xg2MfE662c8m/qewTSJ+uQHNkI96x1AnQYy/G2UzUUMGO44SSa884CWPX 9ma1o1lLZF7Qum0RSUtWnJduu3OhF+uihPDPAaho5hO/N/RDc/k/DIiUQ5izWEE= =A9km -----END PGP SIGNATURE----- --------------enigF2C576B910141C78195D450B--