Hi (and excuse me for loooong delay in response). > See also http://bugs.debian.org/528234 ;) > Is it really needed? Maybe setsid is enough?
No, it is not enough. While D-I may not be using it, cttyhack is essential to enable job control (i.e. ^C). This is really needed for initramfs hacking/debugging, which requires serious interactive shell session. And setsid only won't do. Try doing (initramfs) setsid sh ... (initramfs) sleep 5 ^C <- this won't work and compare it with (initramfs) setsid cttyhack sh ... (initramfs) sleep 5 ^C (initramfs) <- returns immediately Best Regards, >> Because current debian build of busybox (and busybox-static) does not >> include 'cttyhack' and 'setsid', it is impossible to use ^C and other >> job control feature in initramfs shell. >> >> - http://lists.busybox.net/pipermail/busybox/2008-January/029936.html >> >> As you can see in above URL, enabling CONFIG_SETSID and CONFIG_CTTYHACK >> would be a big plus, as then you can interrupt command in case it doesn't >> return (like "ipconfig -c dhcp" or "ping"). Being forced to reboot just >> because of one "inappropriate" command is not a very happy option. > > See also http://bugs.debian.org/528234 ;) > > Is it really needed? Maybe setsid is enough? > > /mjt > -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktik9kdfd8cmako8x1dqffkkvmhl...@mail.gmail.com