From owner-cvs-all Sat Apr 13 6: 0:47 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BFAC637B400; Sat, 13 Apr 2002 06:00:43 -0700 (PDT) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3DD0hq82632; Sat, 13 Apr 2002 06:00:43 -0700 (PDT) (envelope-from murray) Message-Id: <200204131300.g3DD0hq82632@freefall.freebsd.org> From: Murray Stokely Date: Sat, 13 Apr 2002 06:00:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall index.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG murray 2002/04/13 06:00:43 PDT Modified files: usr.sbin/sysinstall index.c Log: 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. Revision Changes Path 1.96 +45 -8 src/usr.sbin/sysinstall/index.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message