From owner-freebsd-geom@FreeBSD.ORG Fri Apr 9 19:08:16 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96BCD106564A; Fri, 9 Apr 2010 19:08:16 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [77.88.46.8]) by mx1.freebsd.org (Postfix) with ESMTP id F12AB8FC08; Fri, 9 Apr 2010 19:08:14 +0000 (UTC) Received: from web44.yandex.ru (web44.yandex.ru [77.88.47.183]) by forward3.mail.yandex.net (Yandex) with ESMTP id 1A90456D99EF; Fri, 9 Apr 2010 23:08:13 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1270840093; bh=fUJeAkVjNt9ZQENbeGu0NxNZzuP74i7UMu4uUvTYFRo=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=huqwTJb9bUykPEscYmZlUMLbK2LjnuMecgwu6hSq/FMtixt69H5QFDQmz4SXY1Fnn YfGSqMhGQZpnNc3JpAm6g70gIlvrmadbuPQm+HNn6JCYsJhODLuOvK+OwpkAoLKfC7 DAEnKjXT1A2RCqdVkR/TrGVs2Wdzr5wlIoDPzZuA= Received: from localhost (localhost.localdomain [127.0.0.1]) by web44.yandex.ru (Yandex) with ESMTP id 1164A758039; Fri, 9 Apr 2010 23:08:13 +0400 (MSD) X-Yandex-Spam: 1 X-Yandex-Front: web44.yandex.ru X-Yandex-TimeMark: 1270840093 Received: from www.heavennet.ru (www.heavennet.ru [77.72.136.193]) by mail.yandex.ru with HTTP; Fri, 09 Apr 2010 23:08:11 +0400 From: Andrey V. Elsukov To: Garrett Cooper In-Reply-To: References: <55861270658151@web135.yandex.ru> <20100408103809.13496s9i6ny03ocg@webmail.leidinger.net> <867hoi8gbl.fsf@ds4.des.no> <201004080849.12151.jhb@freebsd.org> <86r5mqt4aj.fsf@ds4.des.no> <86sk75ol54.fsf@ds4.des.no> <86fx356ku1.fsf@ds4.des.no> MIME-Version: 1.0 Message-Id: <232101270840092@web44.yandex.ru> Date: Fri, 09 Apr 2010 23:08:12 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailman-Approved-At: Fri, 09 Apr 2010 19:39:38 +0000 Cc: Bruce Cran , Marcel Moolenaar , John Baldwin , freebsd-geom@freebsd.org, Teske , Randi Harper , freebsd-current@freebsd.org, Alexander Leidinger , =?utf-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= Subject: Re: Re: [RFC] Rewriting sade(8) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 19:08:17 -0000 09.04.10, 11:20, "Garrett Cooper" : > Ok. Or maybe since `we're here' sade needs to be populating > $DESTDIR/etc/fstab, not sysinstall ? I'm also looking for answer to this question. It seems that all basic operations with partitions are already implemented. And I think about next steps. Also I think I should make a dialog for writing bootcode. And there are a bunch of different bootstrap code which can be used with different schemes. So if anyone can share own experience I'll be grateful. MBR: /boot/mbr - standart boot record (is it needed? Is it not the same which gpart creates?). /boot/boot0 - boot0 boot manager. /boot/boot0sio - boot0 boot manager with redirected output ot com1. GPT: /boot/pmbr - protective mbr /boot/gptboot - bootstrap code for booting from GPT, should be installed to freebsd-boot partition. /boot/gptzfsboot - bootstrap code for booting from GPT and ZFS, should be installed to freebsd-boot partition. /boot/zfsboot - bootstrap code for booting from ZFS from MBR, it seems this bootcode doesn't have a correct way (e.g `gpart bootcode ...`) to be writed. What about VTOC8, PC98, APM? -- WBR, Andrey V. Elsukov