Thread (6 messages) flat view 6 messages, 3 authors, 2012-08-02

What is purpose of /init

From: Rahul Bedarkar <hidden>
Date: 2012-08-01 14:03:57

Hi,

I just saw contents of /init on my system.

#!/bin/sh
# devtmpfs does not get automounted for initramfs
/bin/mount -t devtmpfs devtmpfs /dev
exec 0</dev/console
exec 1>/dev/console
exec 2>/dev/console
exec /sbin/init $*

Can someone explain what is meant for ?

Regards,
Rahul B.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help