On Wednesday 06 July 2011 01:43, Laurent Bercot wrote:
> > It would be really nice to be able to make my /etc/inittab say something 
> > like:
> > 
> > AUTO::respawn:/bin/login -f root
> > 
> > and have busybox query the kernel for the first console, then fill in
> > "AUTO" with the appropriate device name.
> 
>  You can easily script that. Boot into a script that generates
> a proper /etc/inittab then executes into "busybox init". Adding
> specific code to busybox for this only amounts to bloating it.
> 
> 
> > I see that in Linux 2.6.38+, there is a new
> > /sys/class/tty/console/active attribute that could be used to
> > implement this.  systemd init is already using it to start getty on
> > the active serial console.
> 
>  systemd is a wonderful example of how not to design an init process.

Author of systemd is a control freak. He wants to add everything
humanly possible (fsck, klog, syslog, selinux, tcpwrap and literally
a dozen more things) in that tool, and force it on everybody.

No wonder he wants it to be the init process...

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to