in ,

Nanix: an idea for a modern, small, UNIX-like operating system, Hacker News


UPDATE:Thanks to the Lobsters commmunity, commenting on my Lobsters post, I have come to the conclusion Nanix is ​​unfeasable. That’s too bad! I’ll leave this post up, regardless, because there’s no reason to take it down.

Linux is huge. A minimal, gzipped kernel image is over 2MB, and that is missing essential systems such as networking. And USB.

GNU / Linux is evenhuger. An installation of glibc, at least from Debian on i 386, is (nearly) *********************************** (MB) . Coreutils is another~ 15 MB. Then there’s bash, grep, gzip, tar, sysutils, etc., each eating up precious megabytes.

Of course, there are smaller alternatives, some I particularly like aremusl libcandBusyBox, which fill the roles of all of the above GNU packages as far as I can tell, and they’re both decently small.

But for me, they’re not small enough.

You see, there used to be a Linux distribution called muLinux, of which the base system fit on a single high- density 3.5 inch floppy disk, albeit formatted to 1. 722 MB. Nowadays, you couldn’t even fit a gzipped kernel into that size, never mind a full, usable system.

So I propose a full UNIX-like operating system (BSD -style), specifically designed to (1) take advantage of modern hardware, (2) fit on a single floppy disk, and (3) be somewhat useful for hobbyist desktop users. This isn’t possible with modern Linux, due to decades of software bloat. It isn’t possible with GNU tools, for similar reasons.

So a new kernel and userspace would have to be made. While we’re at it, we can usetcc, which is much smaller than gcc or clang, as the system toolchain, and probably fit the entire toolchain, headers and all, on a single floppy.

I call this operating system “Nanix,” a portmanteau of “nano “and” UNIX. “

Would anybody be interested in using this for anything? I probably won’t ever work on it, but it might be a nice learning exercise for me to get a minimal UNIX-like kernel going and a sliver of a userspace.

Footnotes

[huger]: Is this a word? Let’s go with it.

Brave Browser
Read More
Payeer

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

10 Best Performing S&P 500 Stocks Since 2000. You’ll Never Guess No. 1, Crypto Coins News

10 Best Performing S&P 500 Stocks Since 2000. You’ll Never Guess No. 1, Crypto Coins News

Screen Art: Wargames (HP9845 Project), Hacker News