freebsd-nq/usr.sbin/bsdconfig/share
Devin Teske 424d0bad55 Implement $probe_only for the media access modules. sysinstall(8) was
allowed to ignore the probe_only argument of its member functions solely
because in the C language, the file accessor methods open and return a file
descriptor and reading of the data is optional. In shell, the file accessor
methods return data on stdout and that data should not be ignored (large
files could block execution).

So, we must adhere to the probe_only flags and in some cases (in the case of
FTP, for example) change the `get' strategy to simply test existence and
return an appropriate status.

This was required because the up-coming package management stuff makes heavy
use of the probe_only argument to try different package suffixes. Every
media access module must implement $probe_only for the `get' accessor.
2013-07-04 20:12:12 +00:00
..
media Implement $probe_only for the media access modules. sysinstall(8) was 2013-07-04 20:12:12 +00:00
packages More whitespace. 2013-06-24 20:58:54 +00:00
common.subr More whitespace. 2013-06-24 20:58:54 +00:00
device.subr More whitespace. 2013-06-24 20:58:54 +00:00
dialog.subr More whitespace. 2013-06-24 20:58:54 +00:00
Makefile Commit first portion of package module -- this includes the ability to view 2013-05-07 05:40:20 +00:00
mustberoot.subr Fix a bug in which the user's choice to Cancel was not properly recognized. 2013-06-02 23:15:12 +00:00
script.subr Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8): 2013-06-23 10:48:26 +00:00
strings.subr Like r250701, introduce another handy function for truncating variables to a 2013-06-02 23:25:27 +00:00
struct.subr Import media selection/preparation framework (sysinstall inspired). Makes 2013-02-25 19:55:32 +00:00
sysrc.subr More whitespace. 2013-06-24 20:58:54 +00:00
variable.subr Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8): 2013-06-23 10:48:26 +00:00