]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for an additional field to the packages/INDEX file. If
authorMurray Stokely <murray@FreeBSD.org>
Sat, 13 Apr 2002 13:00:42 +0000 (13:00 +0000)
committerMurray Stokely <murray@FreeBSD.org>
Sat, 13 Apr 2002 13:00:42 +0000 (13:00 +0000)
commitbb2d14481b485409745ebd0374d0c73095b8c197
tree5ea7aa06f682486f3f195e370800d64af684621e
parent76ce87ffba344818041c92249fb5922ee9e74ce1
Add support for an additional field to the packages/INDEX file.  If
present, this field specifies the media volume that the disc is
contained on.  If the volume of a given packages is different than the
current volume of mediaDevice, then the user is prompted --

  "This is disc #%d.  Package %s is on disc #%d\n"
  "Would you like to switch discs now?\n"

If the user selects yes, then DEVICE_SHUTDOWN is called and the user
is then prompted --

  "Please remove disc #%d from you drive, and add disc #%d"

This works well for a carefully crafted INDEX file, but more work
needs to be done to sort dependencies on a given package based on the
volume that they reside on, to minimize the amount of disc flipping
required of the user.

This commit is a no-op for normal INDEX files and FreeBSD CDs.  These
additional features are only used if the INDEX and cdrom.inf file have
multi-volume support.
usr.sbin/sysinstall/index.c