[RFC] Rewriting sade(8)
yanefbsd at gmail.com
Thu Apr 8 18:03:40 UTC 2010
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@ 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.
More information about the freebsd-current