🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13628

Re: Preguntas sobre init

#13628
From: Juanjo Álvarez
Date: Mon, 12 Feb 2001 01:12
18 lines
1562 bytes
Aitor Santamaria Merino dijo sobre Re: Preguntas sobre init,
en fecha: Sat, 10 Feb 2001 22:00:46 GMT

|>   #!/bin/sh
|>
|>   Y /bin/sh suele ser un enlace al shell que usas.
|>   Por defecto suele ser un enlace al bash
|>   (/bin/sh --> /bin/bash)
|O sea que init se limita a mirar la primera l�nea... interesante.

No, init  no, el kernel  es el que mira  esa primera l�nea  (en realidad
solo el  #!) y lanza  el shell que viene  a continuaci�n sobre  el resto
del  c�digo  del archivo,  para  init  ese  archivo es  simplemente  "un
ejecutable".

-- 
http://www.clickeas.com/linux
Nick IRC: Kane o Akabao
Technical Details
Message-ID: <slrn98ee3b.8ru.juanjux@Pascual.es>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.skycache.com!Cidera!news!news.rediris.es!garse!news.iddeo.es!juanjux
References: <3A8549A5.92830203@es.es> <9647vq$sfl$1@m2wpersoisp01.wanadoo.es> <3A85B9F8.2E4F8807@es.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,43319e16d3ea1514
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-02-12 03:35:32 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.skycache.com!Cidera!news!news.rediris.es!garse!news.iddeo.es!juanjux
From: juanjux@yahoo.es (Juanjo Álvarez)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Preguntas sobre init
Date: Mon, 12 Feb 2001 02:12:11 +0100
Organization: Iddeo - Retevisi�n
Lines: 18
Message-ID: <slrn98ee3b.8ru.juanjux@Pascual.es>
References: <3A8549A5.92830203@es.es> <9647vq$sfl$1@m2wpersoisp01.wanadoo.es> <3A85B9F8.2E4F8807@es.es>
Reply-To: juanjux@yahoo.es
NNTP-Posting-Host: 62.174.162.59
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.6.3 (Linux)