Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2010 11:03:37 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
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:  <u2w7d6fde3d1004081103o62126620t7d1ea811255c8d66@mail.gmail.com>
In-Reply-To: <86r5mqt4aj.fsf@ds4.des.no>
References:  <55861270658151@web135.yandex.ru> <20100408103809.13496s9i6ny03ocg@webmail.leidinger.net> <867hoi8gbl.fsf@ds4.des.no> <201004080849.12151.jhb@freebsd.org> <86r5mqt4aj.fsf@ds4.des.no>

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

    If the user shoots him or herself in the foot, that's their own
problem. They should at least read hier(7) or ask a question on
questions@ beforehand. As long as the auto-partitioner is correct,
it's fine. Complicating the tool with a lot of unnecessary criteria
will just produce unnecessary bloat.
Thanks,
-Garrett



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