[...serial check thinks real consoles are serial as well...] Hm. I just referenced the code which was already in rootskel, supposing it was working OK, but that doesn't seem to be the case. Checking on my VME box, however, the /proc/self/fd/* files also link to /dev/console, so there is no way this problem could be fixed by slightly modifying the check. Off the top of my head, I can think of two things that could be done to fix this issue: * Fix busybox init to properly handle existing but not working /dev entries, such as /dev/vc/*. Might be intrusive, might be a bad idea to start doing this so close to a release. * Add a little C program to userdevfs that will check whether /dev/vc/1 and similar files actually work instead of checking what /proc/self/fd/0 points to, and use that as the test. Probably not so difficult to do, but will add bloat, and increase image size. Maybe not such a good idea; also, it's still a workaround for a bug in busybox init. Thoughts? -- EARTH smog | bricks AIR -- mud -- FIRE soda water | tequila WATER -- with thanks to fortune
Attachment:
signature.asc
Description: Digital signature