Re: [RFC] Rewriting sade(8)



2010/4/8 Dag-Erling Smørgrav <des@xxxxxx>:
John Baldwin <jhb@xxxxxxxxxxx> writes:
Dag-Erling Smørgrav <des@xxxxxx> 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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"