From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 20:03:13 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0332A1065698 for ; Fri, 20 Aug 2010 20:03:13 +0000 (UTC) (envelope-from freebsd-lists@christianserving.org) Received: from zion.christianserving.org (zion.christianserving.org [66.128.242.154]) by mx1.freebsd.org (Postfix) with ESMTP id C8CFD8FC0A for ; Fri, 20 Aug 2010 20:03:12 +0000 (UTC) Received: from localhost (localhost.christianserving.org [127.0.0.1]) by zion.christianserving.org (Postfix) with ESMTP id 6C4D322C198 for ; Fri, 20 Aug 2010 14:46:41 -0500 (CDT) X-Virus-Scanned: amavisd-new at christianserving.org X-Spam-Flag: NO X-Spam-Score: -3.998 X-Spam-Level: X-Spam-Status: No, score=-3.998 tagged_above=-9999 required=6 tests=[ALL_TRUSTED=-1.8, AWL=0.401, BAYES_00=-2.599] autolearn=ham Received: from mm-riggsj.peace.daveramsey.com (mail.daveramsey.com [67.216.167.148]) by zion.christianserving.org (Postfix) with ESMTPSA for ; Fri, 20 Aug 2010 14:46:40 -0500 (CDT) From: Jim Riggs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 20 Aug 2010 14:46:39 -0500 Message-Id: <9674C06D-DC2D-40C3-B523-E397C9ADC37B@christianserving.org> To: freebsd-current@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Mailman-Approved-At: Fri, 20 Aug 2010 20:15:59 +0000 Subject: CD/DVD ejecting after sysinstall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 20:03:13 -0000 References: http://www.mail-archive.com/svn-src-all@freebsd.org/msg24380.html http://forums.freebsd.org/showthread.php?t=3D17126 This commit automatically ejects the CD when sysinstall exits which = almost had dire consequences for me this week. As described in the = forum post, I keep a LiveFS CD in all of my servers so that I can = remotely diagnose and fix issues. I have done this for several years = now, and it has saved my tail many times. However, I got a surprise when I tried it today with the new 8.1 LiveFS = CDs I had just burned. After attempting to fix a problem from the = LiveFS and rebooting back to the HD, the problem still existed. No = problem. I just tried to boot back to the CD only to find that it was = gone. Luckily, this was on a box in-house, so I was quickly able to see = what was wrong. Now that I have the commit, I can roll my own patched sysinstall and = CDs, but the question is: Should we be ejecting the media without any = prompt? Obviously, for my use case, I liked the old behavior of just = reminding the user to eject the media when rebooting. I understand that = may not be optimal for some users. Can we present a dialog asking the = user if they want the media to be ejected? That still leaves me at risk = of selecting the wrong answer, I suppose. I would rather not have to = roll my own LiveFS CDs every time, though. Thoughts from anyone else? (Please copy me on responses.) - Jim