devfs
[Top] [All Lists]

Re: when do stdout, stdin, and stderr get created?

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: when do stdout, stdin, and stderr get created?
From: Russell Coker <russell@xxxxxxxxxxxx>
Date: Sat, 10 Nov 2001 11:49:30 +0100
Cc: devfs@xxxxxxxxxxx
In-reply-to: <200111092215.fA9MFei10783@vindaloo.ras.ucalgary.ca>
References: <20011109211241.4F88D18E5@lyta.coker.com.au> <200111092215.fA9MFei10783@vindaloo.ras.ucalgary.ca>
Reply-to: Russell Coker <russell@xxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
On Fri, 9 Nov 2001 23:15, Richard Gooch wrote:
> Russell Coker writes:
> > Currently on boot I see the following messages from devfsd:
> > error lstat(2)ing: "stdin"      No such file or directory
> > error lstat(2)ing: "stdout"     No such file or directory
> > error lstat(2)ing: "stderr"     No such file or directory
> >
> > Where are these links created?  Why are they created in the early
> > boot process?  Why not just have devfsd create them (or one of the
> > boot scripts)?
>
> Those links are created by devfsd (as is "fd") early in it's
> initialisation phase. But the message is wrong, it's a call to stat(2)
> that is failing, not lstat(2). I don't get these messages.
>
> Hm. Is /proc mounted at this time?

No.  On Debian devfs is started before the "checkroot" script (which mounts 
/proc).

I'm looking into getting this changed.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

<Prev in Thread] Current Thread [Next in Thread>