From owner-cvs-all Fri Apr 26 0:31: 9 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 5A1AF37B405; Fri, 26 Apr 2002 00:31:04 -0700 (PDT) Received: (from wes@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3Q7V4j13351; Fri, 26 Apr 2002 00:31:04 -0700 (PDT) (envelope-from wes) Message-Id: <200204260731.g3Q7V4j13351@freefall.freebsd.org> From: Wes Peters Date: Fri, 26 Apr 2002 00:31:04 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/reboot reboot.8 reboot.c src/etc rc src/sys/boot/forth loader.conf 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 wes 2002/04/26 00:31:04 PDT Modified files: sbin/reboot reboot.c reboot.8 etc rc sys/boot/forth loader.conf Log: Add a -k option to reboot to specify the kernel to boot next time around. If the kernel boots successfully, the record of this kernel is erased, it is intended to be a one-shot option for testing kernels. This could be improved by having the loader remove the record of the next kernel to boot, it is currently removed in /etc/rc immediately after disks are mounted r/w. I'd like to MFC this before the 4.6 freeze unless there is violent objection. Reviewed by: Several on IRC MFC after: 4 days Revision Changes Path 1.310 +5 -1 src/etc/rc 1.14 +15 -1 src/sbin/reboot/reboot.8 1.14 +21 -6 src/sbin/reboot/reboot.c 1.56 +1 -1 src/sys/boot/forth/loader.conf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message