From owner-freebsd-geom@FreeBSD.ORG Tue Jun 28 07:50:19 2011 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 30803106566C for ; Tue, 28 Jun 2011 07:50:19 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E80D38FC0C for ; Tue, 28 Jun 2011 07:50:18 +0000 (UTC) Received: by iwr19 with SMTP id 19so6620773iwr.13 for ; Tue, 28 Jun 2011 00:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=13JhvMLN7cCaPMIOfXbOvI+b88vfUr1LGMKBi4N1sF4=; b=wCkZqTID94LFm0OY3p7VMwB4lF1j/ww3jYuh6Va7B2pZmEl9yud0hWObYmnkuhMC9j TrK5LHrx7VpZOVTy5nSGDCkoz+zbKVYbrn+bhb748Hh8yt0sltOSzzXmVqZF/KfxZ/xS FrCMmJgPRl1+K/GUbqRGeYLaX2QQvzz92UlqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BXMusqxaojQkppeZGzCQsH8FW+hL9d2QBxAUycgMRI+V308L0ZTpWT8WaikM+2DaiY DWNvQHSAZDyGFtA/HoDaqUaWvVUUPESKDduSg14ec7suk/tx6soDwa90fnXxhHIGtMst 6QpFJVn5L0nVw965DFG7ODrlAktTEMWmzgzvQ= Received: by 10.231.207.71 with SMTP id fx7mr6565481ibb.168.1309247418269; Tue, 28 Jun 2011 00:50:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.38.5 with HTTP; Tue, 28 Jun 2011 00:49:58 -0700 (PDT) In-Reply-To: <4E098651.6020909@yandex.ru> References: <201106280510.p5S5A8O0073022@freefall.freebsd.org> <4E098651.6020909@yandex.ru> From: Eir Nym Date: Tue, 28 Jun 2011 11:49:58 +0400 Message-ID: To: "Andrey V. Elsukov" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: kern/157724: [geom] gpart(8) 'add' command must preserve gap for schemes 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: Tue, 28 Jun 2011 07:50:19 -0000 2011/6/28 Andrey V. Elsukov : > On 28.06.2011 9:10, Eir Nym wrote: >> =C2=A0according [1] and bsdlabel(8), we can preserve 0 if we use ZFS (th= is >> =C2=A0filesystem have space for boot code), and 8k for UFS (this filesys= tem >> =C2=A0have no space for boot code). >> >> =C2=A0So if we install UFS without boot, can we preserve no gap? >> >> =C2=A0[1]: [http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition] > > You can use UFS and swap without offset too. > So we have answer what to do: we should document this gap for bootable UFS. I think boot(8) and gpart(8) man page is the best place to do this. But boot loader install process for ZFS should be documented in man page to= o. -- Eir Nym > -- > WBR, Andrey V. Elsukov >