freebsd-nq/usr.sbin/bsdconfig/share
Devin Teske 7323adac99 Import media selection/preparation framework (sysinstall inspired). Makes
accessing files from various types of media nice and abstracted away from
the wet-work involved in preparing, validating, and initializing those
types of media. This will be used for the package management system module
and other modules that need access to files and want to allow the user to
decide where those files come from (either in a scripted fashion, prompted
fashion, or any combination thereof).

Heavily inspired by sysinstall and even uses the same reserved words so
that scripts are portable. Coded over months, tested continuously through-
out, and reviewed several times.

Some notes about the changes:
- Move network-setting acquisition/validation routines to media/tcpip.subr
- The options screen from sysinstall has been converted to a dialog menu
- The "UFS" media choice is renamed to "Directory" to reflect how sysinstall
  treats the choice and a new [true] "UFS" media choice has been added that
  acts on real UFS partitions (such as external disks with disklabels).
- Many more help files have been resurrected from sysinstall (I noticed that
  some of the content seems a bit dated; I gave them a once-over but they
  could really use an update).
- A total of 10 media choices are presented (via mediaGetType) including:
  CD/DVD, FTP, FTP Passive, HTTP Proxy, Directory, NFS, DOS, UFS, Floppy, USB
- Novel struct/device management layer for managing the issue of passing
  more information than can comfortably fit in an argument list.
2013-02-25 19:55:32 +00:00
..
media Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
common.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
device.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
dialog.subr Update copyright following last commit. 2013-01-07 00:18:03 +00:00
Makefile Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
mustberoot.subr Don't use f_show_msg() unless printf(1) syntax is required (this reduces the 2013-01-14 21:03:34 +00:00
script.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
strings.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
struct.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
sysrc.subr Add more debugging to help with diagnosis of program-flow when needed. 2012-12-25 10:47:45 +00:00
variable.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00