From owner-freebsd-geom@FreeBSD.ORG Sat Jan 19 11:01:55 2013 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 19695EE2 for ; Sat, 19 Jan 2013 11:01:55 +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 D5192749 for ; Sat, 19 Jan 2013 11:01:51 +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 184C44AC2D for ; Sat, 19 Jan 2013 15:01:51 +0400 (MSK) Date: Sat, 19 Jan 2013 15:01:46 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1839155364.20130119150146@serebryakov.spb.ru> To: freebsd-geom@FreeBSD.org Subject: Is it possible to run gpart and newfs on file without root access (without mdconfig)? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Sat, 19 Jan 2013 11:01:55 -0000 Hello, Freebsd-geom. Patches to build and install world without root access will hit tree in near future, and I wonder is it possible to build complete NanoBSD image without root access? Now image is built via creating MD disk and it needs root access anyway :( Is here any way to create disk image (in file) without root access? Yes, permissions fixup needs root access in any case, but it could be done on first boot of created image, on target device, with some rc kung-foo! -- // Black Lion AKA Lev Serebryakov