From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 14:19:50 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8DD106566C; Thu, 8 Apr 2010 14:19:50 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id DD9758FC0A; Thu, 8 Apr 2010 14:19:49 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id D50471FFC22; Thu, 8 Apr 2010 14:19:48 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id AB308844C6; Thu, 8 Apr 2010 16:19:48 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: John Baldwin References: <55861270658151@web135.yandex.ru> <20100408103809.13496s9i6ny03ocg@webmail.leidinger.net> <867hoi8gbl.fsf@ds4.des.no> <201004080849.12151.jhb@freebsd.org> Date: Thu, 08 Apr 2010 16:19:48 +0200 In-Reply-To: <201004080849.12151.jhb@freebsd.org> (John Baldwin's message of "Thu, 8 Apr 2010 08:49:12 -0400") Message-ID: <86r5mqt4aj.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Bruce Cran , freebsd-geom@freebsd.org, Teske , Randi Harper , freebsd-current@freebsd.org, "Andrey V. Elsukov" , Alexander Leidinger Subject: Re: [RFC] Rewriting sade(8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 08 Apr 2010 14:19:50 -0000 John Baldwin writes: > Dag-Erling Sm=C3=B8rgrav writes: > > My suggestion is to add a "sysinstall mode" to sade where it > > operates under certain (minor) constraints and reports what it did > > in a format that sysinstall can parse, so sysinstall can just > > fork-exec sade instead of duplicating the code. > Actually, I would rather have sysinstall just invoke sade to do the > disk related stuff. ...which is exactly what I said - but in the sysinstall case, you may want to ask some additional questions ("are you sure you want to proceed without a swap partition?") or place some additional constraints (such as "don't allow the user to mount something on top of /mnt or /rescue"), and sysinstall needs to know the outcome. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no