>>>> QNX has an excellent single floppy demo that asks the question:
>>>> "How did we put a POSIX realtime OS, a full windowing system,
>>>> an HTML 3.2 browser, an embedded web server, an Internet dialer,
>>>> TCP/IP, and more on a SINGLE 1.44M floppy?"
>>>> My question is -- can this be done with Linux?
>>>> Check out the cool QNX demo at http://www.qnx.com/iat/how.html
>>>I've actually been hacking at this for a while, and I've admitted
>>>defeat. The best I managed was 2 floppies, and I couldn't get the
>>>windowing system or web server on that. However, I did get an nfs
>>>suite, internet dialup, a text-based browser (lynx) and some disk
>>>fixit tools. Plus it could read dos, vfat, iso9660, joliet, smbfs
>>>and ext2 partitions, so on balance I think it's better than QNX's
>>>1 disk wonder :-)
>>Hey, you can't compare lynx to a graphical, HTML 3.2 web browser. :-)
> Yes, but that's application land.
> If you're using your gui and browser as a selling point for QNX, I
> can see the point of it (though these days I don't see that sort of
> bundling working for anyone except Microsoft),
For those customers of ours building set top boxes and other
internet-connected devices, it's a compelling advantage. No one else has a
complete, embeddable browser. WinCE contains only a small subset browser.
For a consumer appliance, that's too limiting.
Quote:> but it doesn't say
> anything about the operating system. (What it does say is that X is
> bloated, but, shoot, is there anyone in the computer-using world that
> doesn't already know that?)
:-)
Quote:> I'd suspect that, sizewise, the kernel you put on that disk and the
> kernels I put on my (uncompressed recovery floppies) are about the
> same size. (I don't know, of course, but my recovery floppy kernel
> is a shade under 400k[1], and it supports:
OS kernel on the QNX demodisk: 164K
contains: microkernel, process manager, shared lib, boot manager and
ramdisk manager
Quote:> the obligatory two load formats for Linux/x86 (a.out and elf)
> floppy drives
POSIX Filesystem manager: 80K
Floppy driver: 21K
Quote:> ide drives
Fsys.edie (eide driver): 69K
Quote:> ide cd-roms
> ramdisks (big surprise, eh? ;-)
> scsi disks
> scsi cd-roms
> advansys, adaptec 1542,
Adaptec 1542 driver: 59K
Quote:> buslogic, and ncr8xx controllers
NCR driver: 69K
Quote:> ext2, proc,
> iso9660 filesystems)
Iso9660fsys: 27K
Quote:> The kernel and the necessary a.out runtime library eat 850k of the
My sum of the above is 489K. We also have a newer version of our OS
technology coming along (QNX/Neutrino) which will produce even smaller
numbers. Those disk drivers above each contain a good chunk of redundant
code that will be combined into a DLL in the new stuff, and the kernel is
about half that size and provides greater functionality.
Quote:> approximately 1380k I can fit onto a repair floppy. If I used
> compressed floppy images, I could probably fit about 1800k onto the
> floppy after reserving space for the kernel. 450k of that is the
> library, and I'd need another 1400k for a vga X server. Lesse, that
> would leave me approximately -50k to fit a web server[2], browser,
> gui, 200k of html documents, and the necessary scaffolding to support
> all of it.
Yup. :-)
Quote:> Make no mistake, that's a pretty spiffy demo you've got there. But I
> don't even notice the operating system because I'm too busy drooling
> over the captive gui.
Photon does get a lot done in very little memory. It has quite a different
architecture than any GUI I've seen.
Quote:> david parsons \bi/ I might be able to do it using MGR, but there are no
> \/ modern web browsers for MGR.
Can MGR even be grown into a fully desktop-comparable GUI?
Quote:> [1: 2.0.28; the 1.2.13 version is about 100k less :-(]
> [2: even if I used thttpd (~60k), I'd still have trouble fitting it in.]
:-)
--
http://www.qnx.com/~danh 175 Terence Matthews
phone: +1 (613) 591-0931 Kanata, Ontario, Canada
fax: +1 (613) 591-3579 K2M 1W8