From owner-freebsd-geom@FreeBSD.ORG Sun Jan 20 08:12:10 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 D3EACC4A; Sun, 20 Jan 2013 08:12:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 523D56AE; Sun, 20 Jan 2013 08:12:10 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hn3so4093571wib.11 for ; Sun, 20 Jan 2013 00:12:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Sk2INgBnp+1LTnsHUv6GDJfIHLlDjG2BvpW6oWx2Oyc=; b=lCNIDdGL7IUdhXtpduKGo82ZSMj4V6eZJfsOtIFgCd5zYAs01Fwp+yRUO8ZxzLD1AC Sc+kgLI44qKkZbM0e6u4aG4s/eBO5fkoE/JGHYBg6ymZlGLi6C7Aebqhe0n4sRP8DcRS 1dBehh1J8HHx7+rR7u++32c7cTOU4dG5V/WSbtyp4iXbrp+DXw77yozl/6iZnOdi0r9A +AQrSUYKiZiQdrAkZ0W8LRB16VK4URhkaHwuUeuRrF4RbgIublaYFow9fVjc2AtvVgFD M/rwa/Ey/DVkfCqicv/7JN+JifitDZnv/If8OLsPKI/VzXHns929efD/G9Dz9IvNo5fz +WBw== MIME-Version: 1.0 X-Received: by 10.180.93.133 with SMTP id cu5mr10252162wib.32.1358669498146; Sun, 20 Jan 2013 00:11:38 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Sun, 20 Jan 2013 00:11:38 -0800 (PST) In-Reply-To: <1839155364.20130119150146@serebryakov.spb.ru> References: <1839155364.20130119150146@serebryakov.spb.ru> Date: Sun, 20 Jan 2013 00:11:38 -0800 X-Google-Sender-Auth: SXujzfDy47DlLJ7douwM8JoLKLc Message-ID: Subject: Re: Is it possible to run gpart and newfs on file without root access (without mdconfig)? From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 08:12:10 -0000 On 19 January 2013 03:01, Lev Serebryakov wrote: > 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! Boy wouldn't it be great to be able to run geom modules in userspace? :) Adrian