5 ms·
It's more about the organizational problems than the software. QNX has the "minimal system" thing down. QNX is a POSIX microkernel for embedded applications.
by Animats 12y ago
It's more about the organizational problems than the software.
QNX has the "minimal system" thing down. QNX is a POSIX microkernel for embedded applications. There's a standard distro for development purposes, but you can easily build your own, and that's what's normally done for embedded devices.
A boot image for QNX contains the QNX kernel, its associated user process "proc", and any other user space programs you'd like to have around at boot-up, such as drivers. (All QNX device drivers are user space programs.) File systems and networking are also optional programs. You can put user programs into the boot image as well. If you have a system with a disk, "diskboot" is usually included to bring up a system with more programs and daemons, but that's optional. If you're doing a car stereo or an industrial controller, you'd probably just put the application program in the boot image and avoid any elaborate startup process.
(While QNX is a neat technology, the company is totally screwed up now. In the last 12 years, they went open source, closed source, open source, and back to closed source again. They were acquired twice, once by Harmon (mostly a car stereo company) and then by RIM (the Blackberry people). The end result is that the old point of sale and industrial control customers became fed up and abandoned the system. Nevertheless, QNX is worth understanding to see what a usable microkernel system looks like.)
- justincormack 12y agoWell I went through some of the same stuff as Rob, but with fewer side projects, and there are several issues, and QNX was one possible route, as you point out dying. I would look at eg Genode for something to work on in that kind of model instead, open source L4 based. The big problem is GNU, that turned Linux into a bloated userspace, with often broken development processes which are only gradually being fixed. The whole busybox is, apart from the multicall binary thing, just about writing smaller tools. The hard solution is to rewrite userspace, which got us uClibc and later the far superior Musl libc. The easy solution is to use the BSDs, which basically just provide the core system without insane bloat, and with cross compiling and the core userspace already built in.
- vezzy-fnord 12y agoI've always found Busybox to be more concerned with quantity than implementation quality. This is why I was glad to hear about Landley's Toybox.
- cbd1984 12y agoMeh. Your bloat is my usability. It's the difference between Emacs and vi: vi is smaller, also less usable, according to me, and I'm the only one whose opinions I trust in this matter.