Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Apr 2010 12:15:00 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Dag-Erling =?utf-8?b?U23Dg8K4cmdyYXY=?= <des@des.no>
Cc:        Bruce Cran <bruce@cran.org.uk>, freebsd-current@FreeBSD.ORG, freebsd-geom@FreeBSD.ORG, Teske <dteske@vicor.com>, Randi Harper <randi@FreeBSD.ORG>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, Devin@FreeBSD.ORG
Subject:   Re: [RFC] Rewriting sade(8)
Message-ID:  <20100408121500.13995d1eu7b9bt0k@webmail.leidinger.net>
In-Reply-To: <867hoi8gbl.fsf@ds4.des.no>
References:  <55861270658151@web135.yandex.ru> <l2we277d6c81004071049h21670783ic4a9f419aedca272@mail.gmail.com> <4BBD68DB.7050600@yandex.ru> <201004080727.21020.bruce@cran.org.uk> <4BBD7CDC.2070505@yandex.ru> <20100408103809.13496s9i6ny03ocg@webmail.leidinger.net> <867hoi8gbl.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Dag-Erling Sm=C3=83=C2=B8rgrav <des@des.no> (from Thu, 08 Apr 2010 =
=20
11:05:34 +0200):

> Alexander Leidinger <Alexander@Leidinger.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100408121500.13995d1eu7b9bt0k>