lkml.org 
[lkml]   [2012]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Does init start with any open files?
In article <xs4all.CAMmfjbPKGD28070A0JvMyL02juYW5tuwNmVwrJ-1gFzkNhCuDQ@mail.gmail.com> you write:
>When the init process is created on system startup, does it have any
>open file descriptors? If so, where do they point?

0, 1 and 2, which are connected to the console. Boot a kernel with
"init=/bin/bash" and see for yourself.

Mike.


\
 
 \ /
  Last update: 2012-12-25 15:21    [W:0.499 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site