News for hackers. Stuff that matters.
Re:Nanix: An idea for a modern, small, Unix-like operating s... by tyingq on Saturday September 21, 2019 @11:34AM (#21035935)
Re:Nanix: An idea for a modern, small, Unix-like operating s... by Quequau on Saturday September 21, 2019 @11:57AM (#21036074)
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.

Re:Nanix: An idea for a modern, small, Unix-like operating s... by floatboth on Saturday September 21, 2019 @01:20PM (#21036588)
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 s... by geofft on Saturday September 21, 2019 @12:43PM (#21036332)
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 s... by nisa on Saturday September 21, 2019 @04:13PM (#21037659)
OpenWrt run's on 4mb flash / 32mb memory devices. If you disable IPv6 / Wireless drivers and tune some more knobs you get probably something that boots a recent 4.14 kernel / musl / busybox from a 3mb squashfs and runs in 16mb memory.
Re:Nanix: An idea for a modern, small, Unix-like operating s... by grapeli23 on Saturday September 21, 2019 @06:21PM (#21038243)
Strongly trimmed linux kernel + minimal userspace based on klibc will certainly fit on 1.44MB. The dash (x86) built with klibc occupies something with <50kB in memory, below 100kB on disk.

I recommend reviewing this thread. https://www.mail-archive.com/[email protected]/ms...

Re:Nanix: An idea for a modern, small, Unix-like operating s... by tyingq on Saturday September 21, 2019 @01:31PM (#21036678)
Alpine is probably the smallest "modern" Linux distro. 5MB, so 4 floppies worth.
Re:Nanix: An idea for a modern, small, Unix-like operating s... by messe on Saturday September 21, 2019 @01:51PM (#21036805)
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 s... by cat199 on Saturday September 21, 2019 @10:19PM (#21039226)
not sure of the image size, but 'nanobsd' is still supported as I understand it, similar projects exist elswhere

https://www.freebsd.org/cgi/man.cgi?nanobsd%288%29

see also:

https://openwrt.org/ https://www.nmedia.net/flashrd/

etc.

Re:Nanix: An idea for a modern, small, Unix-like operating s... by peterwwillis on Saturday September 21, 2019 @11:55PM (#21039575)
You could just get the source and recompile it, but I don't see the point. If it works, it works.