From owner-freebsd-hackers@FreeBSD.ORG Mon May 1 09:31:40 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAE6A16A401; Mon, 1 May 2006 09:31:40 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53FAC43D45; Mon, 1 May 2006 09:31:39 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1FaUkk-0006Tl-Ag; Mon, 01 May 2006 10:31:38 +0100 Received: from [80.192.58.117] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1FaUkg-0006LW-L2; Mon, 01 May 2006 10:31:34 +0100 Message-ID: <4455D576.2020000@dial.pipex.com> Date: Mon, 01 May 2006 10:31:34 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.12) Gecko/20060305 X-Accept-Language: en MIME-Version: 1.0 To: Giorgos Keramidas , freebsd-hackers@freebsd.org References: <445581DE.50901@centtech.com> <20060501052755.GA88897@gothmog.pc> In-Reply-To: <20060501052755.GA88897@gothmog.pc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Boot manager beep (revisited) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 09:31:40 -0000 Giorgos Keramidas wrote: >On 2006-04-30 22:34, Eric Anderson wrote: > > >>This thread: >>http://lists.freebsd.org/pipermail/freebsd-stable/2005-December/020572.html >> >>mentions a patch to disable the boot manager beep, and also >>discusses having it optional. >> >Does something like the following sound reasonable (I haven't had a >chance to run this through a build-test, so use with care). The >default behavior should be to *include* a beep, but it can be turned >off by setting WITHOUT_BOOTEASY_BEEP in `/etc/src.conf'. > > I have a very similar patch which I pulled from somewhere not long after switching to 5.4. That wrapped the beep inside #ifdef SIO (which I assumed was something standard, but don't know) so that you got a beep with a serial console and not without. I can see the advantage of the beep when running headless, but for anything with a console the beep just seems like something out of the 1970s. My vote (fwiw) would be to reverse the logic and have WITH_BOOTEASY_BEEP so that it's off by default unless you turn it on with the option *or* if you have a serial console (assuming that SIO is something standard). At the same time I also patched so that NTFS filesystem was recognised as "DOS", to get rid of the ?? on standard dual-boot Win/FreeBSD machines. For me, this still comes in under 512 bytes, though I don't know by how much since the make process seems to pad to 512 bytes. The ?? has been a recurring "complaint" and the fix was easy enough and "works for me" (TM). --Alex