Which statement is not correct about the 'init' process in UNIX?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. It is the first process in the system.
Explanation
init is created by the kernel as the first user-space process after boot and is assigned PID 1, and it does act as the ancestor of login shells and spawn a getty process on each terminal line to handle logins, so statements (i), (ii) and (iv) are all accurate. Calling it 'the first process in the system', however, overstates things: the kernel itself runs boot-time initialization and sets up the idle/'swapper' context, conventionally PID 0, before init is ever started, so init is really the first process handed off to user space rather than literally the first process of any kind. That technical imprecision makes statement (iii) the one that is not correct.More Software Engineering questions
- Which UNIX command correctly changes the case of only the first three lines of the file "shortlist" from lower case to upper case?
- Match the following basic vi editor commands in UNIX with their functions. List I (Command): (a) dd (b) yy (c) p (d) u List II (Function):…
- Consider the following statements about linker software: (I) A linker combines multiple object (relocatable) modules into a single load mod…
- A distributed operating system typically consists of:
- Which of the following statements about UNIX signals is NOT correct?
- A null remote procedure call (RPC) (carrying 0 data bytes) takes 1.0 msec, with an additional 1.5 msec for every 1K of data carried. How lo…