:: [DNG] Custom OS initiator. In need …
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Edward Bartolo
日付:  
To: dng
題目: [DNG] Custom OS initiator. In need of some hints...
Hi,

This is a question about implementing a minimal OS initiator. If
DNG's admins/mods deem this email is misplaced please delete it or
ignore it.

Till now, I implemented a little OS initiator that calls "/bin/bash"
and then enters an infinite while loop that does nothing. The loop's
purpose is to prevent PID 1 from exiting.

I would like to have my OS initiator:
a) initiate a terminal before launching it. /sbin/init launches six
such terminals tty1..tty6
b) prevent this terminal from closing
c) do some basic child process management

Edward