From owner-freebsd-current@FreeBSD.ORG Thu Jun 28 11:54:44 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E845106564A for ; Thu, 28 Jun 2012 11:54:44 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [IPv6:2a02:6b8:0:602::3]) by mx1.freebsd.org (Postfix) with ESMTP id E0ADE8FC18 for ; Thu, 28 Jun 2012 11:54:43 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward3.mail.yandex.net (Yandex) with ESMTP id 3F096B41AC6 for ; Thu, 28 Jun 2012 15:54:42 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1340884482; bh=8x4b8lzKRGVvR8utRg+aqkLSMmwrSIrAX2ZN7gqi7mc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=iwf2o+WOoPb72JLdRVoIR33aZEy11GK3FdBXZCKuTql8j2Z4fxIWI1fe47DUp97+w LU8eL8BNWeayV+sRqCNDHNFeV0wqoKOWFiHgd2vL4cXpyXOEDJzb5DGoGflz/+X2oJ b/i6C26Nxtj9RsjlbvaW6DzYrB6GvuYqlRfvrAyg= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 1F9A0E2056A; Thu, 28 Jun 2012 15:54:42 +0400 (MSK) Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sfYqwODf-sfYeQHHA; Thu, 28 Jun 2012 15:54:41 +0400 X-Yandex-Rcpt-Suid: bsam@passap.ru 1130000005322498 X-Yandex-Rcpt-Suid: freebsd-current@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1340884482; bh=8x4b8lzKRGVvR8utRg+aqkLSMmwrSIrAX2ZN7gqi7mc=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=r4D90lQiYBed2BTJAfVIc9xu+p5b4OOYv3hv3ZgMmofhfrLbPkUy1INX//owEpln5 YOtjr10nAR8lowLEMwbl0rf8wEtXgKSrPbhFFirYRdyZc8h9vE8v1Hk7D87iT1rh6A iisSZ+wRCs39z24l9rRag1g1IHbftvrpJuX8zCjE= Message-ID: <4FEC4601.7080601@yandex.ru> Date: Thu, 28 Jun 2012 15:54:41 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Boris Samorodov References: <4FE9B01C.30306@yandex.ru> <201206270807.23347.jhb@freebsd.org> <4FEB0079.7050008@yandex.ru> <201206271028.54477.jhb@freebsd.org> <4FEB5A3C.5050900@borderworlds.dk> <1900D4C1-E5E5-446F-ABBF-976A2DFEB36B@xcllnt.net> <4FEC22A0.9000109@freebsd.org> <4FEC2D86.2040505@freebsd.org> <4FEC41D2.8020605@passap.ru> In-Reply-To: <4FEC41D2.8020605@passap.ru> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: [CFC/CFT] large changes in the loader(8) code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Jun 2012 11:54:44 -0000 On 28.06.2012 15:36, Boris Samorodov wrote: > 28.06.2012 14:10, Stefan Esser пишет: > >> All of the above is ugly, U'm afraid :( > > One more try to overcome it. :-) > > We already have freebsd-boot partition at GPT scheme. Right? > Then why not use it (dedicated file/part/etc.) to store > geom FreeBSD information? Recently i have ported LDM support to the FreeBSD. LDM uses 1Mbytes to store its database. All disks that are used by LDM have this database. When the disk is partitioned with MBR, LDM is stored in the last 1Mbyte. When the disk is partitioned with GPT, one partition is dedicated to this database. LDM is not just partitioning scheme, it is also LVM and can do RAID0-5. This is how Microsoft and Veritas have resolved this problem. -- WBR, Andrey V. Elsukov