Live data from Hacker News

Nanix: An idea for a modern, small, Unix-like operating system

piperswe.me

11–20 of 58 posts

Re: Nanix: An idea for a modern, small, Unix-like operating system

#13
post #4
post #3

This has already been done. Works fine on older hardware: http://www.toms.net/rb/

Similar for FreeBSD: https://people.freebsd.org/~picobsd/old/picobsd.html

These are about twenty years old (Linux 2.2 and FreeBSD 3). While they almost certainly still work on modern hardware thanks to the backwards compatibility of the PC platform, can it be done with newer software?

Re: Nanix: An idea for a modern, small, Unix-like operating system

#14
post #7
post #4

Earlier quoted context omitted.

Similar for FreeBSD: https://people.freebsd.org/~picobsd/old/picobsd.html

I think there are many niche BSD derivatives that focus on minimal footprint and small machines. The other day I was looking at RetroBSD for example.

yeah, there was also LiteBSD https://github.com/sergev/LiteBSD

but Retro is the more active project https://github.com/RetroBSD/retrobsd

Re: Nanix: An idea for a modern, small, Unix-like operating system

#16
post #13
post #4

Earlier quoted context omitted.

Similar for FreeBSD: https://people.freebsd.org/~picobsd/old/picobsd.html

These are about twenty years old (Linux 2.2 and FreeBSD 3). While they almost certainly still work on modern hardware thanks to the backwards compatibility of the PC platform, can it be done with newer software?

Alpine is probably the smallest "modern" Linux distro. 5MB, so 4 floppies worth.

Re: Nanix: An idea for a modern, small, Unix-like operating system

#19
post #16
post #13

Earlier quoted context omitted.

These are about twenty years old (Linux 2.2 and FreeBSD 3). While they almost certainly still work on modern hardware thanks to the backwards compatibility of the PC platform, can it be done with newer software?

Alpine is probably the smallest "modern" Linux distro. 5MB, so 4 floppies worth.

That 5MB figure doesn't include the kernel. Usually when people refer to Alpine being only 5MB they're talking about running it inside of a container/chroot.

Re: Nanix: An idea for a modern, small, Unix-like operating system

#20
post #10

"UPDATE: Thanks to the Lobsters commmunity, commenting on my Lobsters post, I have come to the conclusion Nanix is unfeasable. That's too bad! " That thread is here: https://lobste.rs/s/qurwmz

This seems sarcastic to me. You'll compile a lot out, sure, but I don't understand from the discussion why it can't be done. I understand why it's hard, why certain people have no interest in it, and why using a 64-bit address space is important for security defense. But nome of that seems to make it fundamentally impossible.

Depends on how you balance take advantage of modern hardware with be somewhat useful for hobbyist desktop users.

If you think “somewhat useful for hobbyist desktop users” means booting from UEFI, supporting USB-3 including hot-plugging, and doing power management well on generic hardware, I don’t think there’s any chance to stuff everything on a floppy disk.

If you’re willing to remove device enumeration, effectively building a different kernel for each choice of to be supported hardware, work with just a tty over a serial port, and be forgiving a lot on the “Unix-like”, it’s quite doable (example: http://lng.sourceforge.net/, a ‘Unix-like’ OS for the Commodore 64). The “somewhat useful” would suffer, though, and one could argue that isn’t “Unix-like”.

There may be something in-between that adds enough usefulness to make it “somewhat useful”.

Post reply on HN