Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Apr 2010 16:19:48 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Bruce Cran <bruce@cran.org.uk>, freebsd-geom@freebsd.org, Teske <dteske@vicor.com>, Randi Harper <randi@freebsd.org>, freebsd-current@freebsd.org, "Andrey V. Elsukov" <bu7cher@yandex.ru>, Alexander Leidinger <Alexander@leidinger.net>
Subject:   Re: [RFC] Rewriting sade(8)
Message-ID:  <86r5mqt4aj.fsf@ds4.des.no>
In-Reply-To: <201004080849.12151.jhb@freebsd.org> (John Baldwin's message of "Thu, 8 Apr 2010 08:49:12 -0400")
References:  <55861270658151@web135.yandex.ru> <20100408103809.13496s9i6ny03ocg@webmail.leidinger.net> <867hoi8gbl.fsf@ds4.des.no> <201004080849.12151.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@freebsd.org> writes:
> Dag-Erling Sm=C3=B8rgrav <des@des.no> 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



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