From owner-freebsd-hackers Thu Jan 10 16: 9: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 5293737B4A5; Thu, 10 Jan 2002 16:08:49 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id F219710DDF8; Thu, 10 Jan 2002 16:08:48 -0800 (PST) Date: Thu, 10 Jan 2002 16:08:48 -0800 From: Alfred Perlstein To: Leo Bicknell Cc: John Baldwin , freebsd-hackers@FreeBSD.org Subject: Re: serial console + boot blip Message-ID: <20020110160848.T7984@elvis.mu.org> References: <20020110205850.GA14046@ussenterprise.ufp.org> <20020111000557.GA18770@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020111000557.GA18770@ussenterprise.ufp.org>; from bicknell@ufp.org on Thu, Jan 10, 2002 at 07:05:57PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Leo Bicknell [020110 16:07] wrote: > In a message written on Thu, Jan 10, 2002 at 02:23:22PM -0800, John Baldwin wrote: > > > Setting nohup means that when I log out it won't hangup though, > > > right? I like that behavior, what I don't like is the hangup on > > > the switch from kernel mode to {single,multi}-user mode. > > > > You can't have your cake and eat it, too. Pick one or the other. :) > > Of course I can, I have the source! :-) > > What confuses me is I thought the hup/nohup was a function of the > shell exiting, but it seems to be a function of init/getty (which > is why it happens when init starts). > > Even if it's a part of init, it looks like it would be relatively > simple to tell it not to send the hup the very first time, regardless > of the config which would fix my problem. > > Is that an unreasonable behavior? I want to make sure I'm going down > the right road, before I dig in code to patch/fix it. :-) No dammit, tell your stupid serial console device thingy to ignore carrier detection :P -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message