From owner-freebsd-current@FreeBSD.ORG Wed Feb 5 06:58:38 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 511B7D93; Wed, 5 Feb 2014 06:58:38 +0000 (UTC) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EBEAB1623; Wed, 5 Feb 2014 06:58:37 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id j1so11126109iga.3 for ; Tue, 04 Feb 2014 22:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vyvrRww4nGQGaYg/GLCHLbNBwxc+66kWq9YkVAH/P68=; b=QyrENvtp/TVsPhh2hq8n2AOBdzI0fue9ZBdtdFsDCV6AAlQu1i6sqwQ5pGZ3jBS1p6 rkWqR/OJVWbXt0+/zz1Yi/2FhkM+3JqNLSojD1slYkF2dF82h9/EaD4mpquKLyrMfvoN gdni1fWHBm0Yh1mSEZj4fCMqjSDmXjyb9+A6LdpcfeOSn5yu6M+kVjbe5scXA6JcEgNz ILbG7jgiauQCO8o3PrQX6st7o1kQj7RO8H2QCLCX7YgQO8TS+WjYlf77MxM/kEqS5MmV WqvDNlNDnu91RKbXWzaE5h09Jazm+IaA51jvW4k9Ke6saeTqHZNt6a/J6s9JRQwYtBIB 6jDQ== MIME-Version: 1.0 X-Received: by 10.43.153.138 with SMTP id la10mr34833806icc.10.1391583517372; Tue, 04 Feb 2014 22:58:37 -0800 (PST) Received: by 10.50.67.84 with HTTP; Tue, 4 Feb 2014 22:58:37 -0800 (PST) In-Reply-To: References: <201301251633.r0PGX15j040754@svn.freebsd.org> <5102B7A5.7030105@FreeBSD.org> <51F0F0FE.6030208@FreeBSD.org> <51F60897.1020005@FreeBSD.org> <52E22240.5050501@FreeBSD.org> <52F0F0EC.5090902@FreeBSD.org> Date: Wed, 5 Feb 2014 00:58:37 -0600 Message-ID: Subject: Re: zfs boot manual pages From: Scot Hetzel To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-doc@freebsd.org, FreeBSD Current , freebsd-fs , Andriy Gapon X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 05 Feb 2014 06:58:38 -0000 On Tue, Feb 4, 2014 at 2:13 PM, Warren Block wrote: > On Tue, 4 Feb 2014, Scot Hetzel wrote: > >> On Tue, Feb 4, 2014 at 7:53 AM, Andriy Gapon wrote: >>> >>> >>> I've started working on manual pages for the zfs boot chain. >>> >>> Please [p]review my work in progress here: >>> https://github.com/avg-I/freebsd/compare/review;zfs-boot-man-pages >>> >>> Any additions, corrections, suggestions and other kinds of reviewing are >>> welcome. Patches and pull requests are very welcome! >>> >>> Many thanks to Warren Block for the initial review and many fixes. >> >> >> One fix for the gptzfsboot man page would be to mention that >> gptzfsboot is installed into a GPT partition of type freebsd-boot, and >> that the -i 1 refers to the GPT index for this partition. > > > We are missing that from the gptboot.8 page also. > > gptzfsboot is installed in a freebsd-boot partition, usually the > first partition on the disk. A ``protective MBR'' (see gpart(8)) is > typically used in combination with gptzfsboot. > > To install gptzfsboot on the ada0 drive: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 That sounds perfect for both man pages. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.