sysvinit-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sysvinit-devel] the sysvinit pause


From: Dr. Werner Fink
Subject: Re: [sysvinit-devel] the sysvinit pause
Date: Thu, 17 Jan 2013 08:52:03 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 17, 2013 at 08:42:51AM +0000, Yi Qingliang wrote:
> On Wednesday, January 16, 2013 08:56:17 AM Dr. Werner Fink wrote:
> > On Wed, Jan 16, 2013 at 10:08:50AM +0000, address@hidden wrote:
> > > On Wednesday, January 16, 2013 09:44:10 AM address@hidden 
> wrote:
> > > > On Tuesday, January 15, 2013 04:56:44 PM Dr. Werner Fink wrote:
> > > > > On Tue, Jan 15, 2013 at 11:11:21PM +0800, Yi Qingliang wrote:
> > > > > > On Tuesday, January 15, 2013 12:16:46 PM Dr. Werner Fink wrote:
> > > > > > > On Tue, Jan 15, 2013 at 06:42:26PM +0000,
> > > > > > > address@hidden
> > > 
> > > why the close(fd) freeze for 30seconds?
> > > is it related with serial setting? or serial driver?
> > 
> > That more kernel driver related. Sorry, but I'm not familiar with this kind
> > of serial device nor driver :(
> which tty the sysvinit will open if the kernel parameter is 'console=ttySAC0"?
> I debugged the sysvinit, it open the /dev/console, is that normal?

Yes as /dev/console is the system console and the real devices used for
the console are handled by the kernel.  Compare with e.g.

         cat /proc/consoles

which will list all devices used for the system console[1].  Even printers
could be used for a channel of the system console.


    Werner

[1] https://patchwork.kernel.org/patch/461091/
-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]