LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] new grep

[ILUG] new grep

Brian Foster blf at utvinternet.ie
Mon Mar 25 12:15:50 GMT 2002


  | Date: Mon, 25 Mar 2002 10:08:13 +0000 (GMT)
  | From: Waider <waider at dspsrv.com>
  | 
  |  >  Can you boot with init=/usr/bin/emacs yet ?
  | 
  | Tongue-in-cheek and all as the question may be, I'm pretty sure you
  | can boot with anything that knows how to find all the bits necessary
  | for its own execution (i.e. shared libs). So there's nothing (AFAIK)
  | stopping you in theory from using emacs as your init process.  [ ... ]

 yes & no.  yes, there's nothing magical about the init process,
 so more or less any binary would begin execution.  most, however,
 would then fail in various bizarre manners, as init (historically)
 lacks an environment, stdin, stdout, stderr, and (in sufficiently
 old *ix systems) has an argc of 0 (i.e., no arguments at all,
 not even its own name).  in addition, wait(2) behaves slightly
 differently --- init eats zombies --- and in many systems,
 init is not only immune to SIGKILL, but should init die (for any
 reason) the system often panics (usually, nowdays, deliberately).

cheers!
	-blf-
--
 Innovative, very experienced, Unix and      | Brian Foster    Dublin, Ireland
 Chorus (embedded RTOS) kernel internals     | e-mail: blf at utvinternet.ie
 expert looking for a new position ...       | mobile: (+353 or 0)86 854 9268
  For a resume, contact me, or see my website  http://www.blf.utvinternet.ie




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell