From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 10:15:09 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 7BE9D106566B; Thu, 8 Apr 2010 10:15:09 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC6A8FC0C; Thu, 8 Apr 2010 10:15:08 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2CF7F.dip.t-dialin.net [217.226.207.127]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 29A5E8442D0; Thu, 8 Apr 2010 12:15:04 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 42E655056; Thu, 8 Apr 2010 12:15:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1270721701; bh=slvV61o7vcBBw/krqiBb+PvPNKGto5e8uOS5jhvE+wI=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=dhnQF28omWnIQdmiJ0x6n+akrcQen3WLkp+W4917RcJLu5ZtLvrf/YNHuFc5/M+Bb aQQykhh2GQGwVjGV4IqJM2GCKgsYIEtgg6ubuLs+7BIg5wGDCBGE3zNgQDah2zrS0b J03XGep6VSUC+vc6HvIajn9NQtSPR2vZa0mDtlaS4gMAAoKthnq4wJ9ljv4+wwfp+I 4/YGbtyPENC/6ils7dsTF1HgBBRHhwqfHU0WTO2tWijKV4OG9ZRTp4YeVytuWBdoxl xb1tmV2eW9SF+UVwQTWxQI61UyC3O0j4LohFoiDd1ep7UkbhZbFGBl2sO/8gquw6Tc fq9qZ6pBqy8vg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o38AF0YC088184; Thu, 8 Apr 2010 12:15:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 08 Apr 2010 12:15:00 +0200 Message-ID: <20100408121500.13995d1eu7b9bt0k@webmail.leidinger.net> Date: Thu, 08 Apr 2010 12:15:00 +0200 From: Alexander Leidinger To: Dag-Erling =?utf-8?b?U23Dg8K4cmdyYXY=?= References: <55861270658151@web135.yandex.ru> <4BBD68DB.7050600@yandex.ru> <201004080727.21020.bruce@cran.org.uk> <4BBD7CDC.2070505@yandex.ru> <20100408103809.13496s9i6ny03ocg@webmail.leidinger.net> <867hoi8gbl.fsf@ds4.des.no> In-Reply-To: <867hoi8gbl.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 29A5E8442D0.9E186 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1271326504.70378@xnbci6vqNKk8wDxFQPqwJA X-EBL-Spam-Status: No Cc: Bruce Cran , freebsd-current@FreeBSD.ORG, freebsd-geom@FreeBSD.ORG, Teske , Randi Harper , "Andrey V. Elsukov" , Devin@FreeBSD.ORG 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 10:15:09 -0000 Quoting Dag-Erling Sm=C3=83=C2=B8rgrav (from Thu, 08 Apr 2010 = =20 11:05:34 +0200): > Alexander Leidinger writes: >> Please consider using SVN instead. A lot more users will be able to >> check out from there. > > We don't grant non-committers access to the Subversion repo. Ooops... seems I misremembered his status. Somehow I associate him =20 with something FreeBSD related. Andrey, did you participate in a GSoC? >> It looks like other people had a look at sysinstall, not at sade. As >> sysinstall is supposed to be used at installation time, and the intent >> for sade was to offer the functionality (or more) of the part of >> sysinstall which is useful after installation (and to prevent admins >> from using sysinstall after the installation to prevent some unwanted >> foot-shooting), I do not think that we need to think about a strong >> lock between sysinstall and sade. > > Yes we do. Otherwise we'll just end up back where we are today, where > if you want anything more complicated than a single-disk install you > have to drop into the fixit shell and do it manually before running the > installation procedure. Anythig that sade can do, we want sysinstall to > do as well, and we don't want to implement everything twice. From the man page: ---snip--- NOTES The sade utility aims to provide a handy tool for disk management tas= ks on an already installed system. ---snip--- Disk management tasks contains stuff which exceeds what sysinstall =20 needs to provide. One possible extension is to display content from =20 /etc/dumpdates along with partitions (would be helpful if someone uses =20 dump to make backups and wants to delete a partition, but only if =20 there is a recent backup available). > 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. I think this is more complicated than to refactor the interesting part =20 into a backend with an API which both tools can use. This would also =20 allow someone to write a GUI program (e.g. for PC-BSD). Again, there is no need for a *strong* lock between sysinstall and =20 sade. Both should provide similar features regarding partition and =20 slice handling, but they do not need to share exactly the same =20 interface code. Bye, Alexander. --=20 Above all else - sky. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137