Re: [RFC] Rewriting sade(8)

From: Garrett Cooper <yanefbsd_at_gmail.com>
Date: Thu, 8 Apr 2010 11:03:37 -0700
2010/4/8 Dag-Erling Smørgrav <des_at_des.no>:
> John Baldwin <jhb_at_freebsd.org> writes:
>> Dag-Erling Smørgrav <des_at_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_at_ 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
Received on Thu Apr 08 2010 - 16:03:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC