From owner-freebsd-geom@FreeBSD.ORG Mon Jan 21 06:48:59 2013 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 90A283FE for ; Mon, 21 Jan 2013 06:48:59 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 52AB9DCD for ; Mon, 21 Jan 2013 06:48:59 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:5596:dbcf:7f4b:5b1f]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 017E94AC2D; Mon, 21 Jan 2013 10:48:56 +0400 (MSK) Date: Mon, 21 Jan 2013 10:48:50 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1455320447.20130121104850@serebryakov.spb.ru> To: Xin Li Subject: Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)? In-Reply-To: <50FBAB86.20602@delphij.net> References: <1839155364.20130119150146@serebryakov.spb.ru> <50FBAB86.20602@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: d@delphij.net, freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 06:48:59 -0000 Hello, Xin. You wrote 20 =FF=ED=E2=E0=F0=FF 2013 =E3., 12:32:06: XL> makefs? It is second step. Here are several problems: (1) makefs doesn't create any partition tables / labels. (2) makefs could not "inject" its image into file with partition tables / labels. makefs is good to create FS and make permission fixups (by mtree file,generated with root-less install) in one step, but it doesn't solve whole problem of full disk image creation, as far as I understand. --=20 // Black Lion AKA Lev Serebryakov