u/Signal_Reference746

what do you think about my Unix-like operating system?
▲ 19 r/Operatingsystems+2 crossposts

what do you think about my Unix-like operating system?

Pureunix running on my macbook thru QEMU

I’ve been quietly working on a hobby operating system called PureUNIX for the past few months, mostly as a way to learn how Unix-like systems actually work under the hood.

This week I finally hit a milestone that felt worth sharing.

The latest version now has a real Unix-style process model with protected user mode, per-process virtual address spaces, fork(), exec(), and waitpid(). Seeing a process fork, replace itself with a new ELF image, and return control to the shell was one of those “okay, this actually feels like an operating system now” moments.

A few other things it has at the moment:

  • EXT2 + FAT16 through a VFS
  • Interactive shell with pipes and redirection
  • A small vim-like editor
  • User accounts and login
  • Around 215 regression tests covering everything from the VFS and permissions to symlink loops, large files, and process management (currently all passing)

It’s written almost entirely in C99 with a bit of x86 assembly and targets 32-bit x86. I know it’s still missing plenty of things—preemptive scheduling, networking, mmap(), and lots more—but getting to this point has been a ton of fun.

I’m posting here because I’d genuinely love feedback from people who know Unix well. If you see something that’s particularly Unix-like, or something that makes you think “that’s not how Unix would do it,” I’d love to hear it. Those discussions are honestly the most valuable part of building a project like this.

GitHub: https://github.com/linuxkid473/PureUNIX

reddit.com
u/Signal_Reference746 — 1 day ago
▲ 0 r/lowlevel+1 crossposts

What do you think about SiMPLE-OS? (My own POSIX-ish kernel/OS) Looking for testers!!!

SiMPLE Desktop with the Custom \"Green Glass\" Aesthetic

Been working on SiMPLE OS for about 6 months.

Started with trying to get "Hello World" on the screen.

Now it has:

  • FAT16 filesystem
  • ELF execution
  • ELF multitasking
  • Unix/Linux-style syscalls
  • fork(), execve(), pipes, signals, mmap()
  • Per-process memory isolation
  • USB EHCI support
  • PS/2 keyboard and mouse support
  • PC speaker support
  • Graphical desktop environment
  • Built-in apps and games
  • 32-bit protected mode kernel

Recent milestone:

✓ fork() memory isolation works

✓ user process crashes don't kill the kernel

✓ page faults are contained to the offending process

Still missing networking and SMP, but it's reached the point where I'm debugging POSIX compatibility instead of basic kernel crashes.

Strong Americana. 🇺🇸

Repo: github.com/linuxkid473/SiMPLE-OS

reddit.com
u/Signal_Reference746 — 1 month ago

What do you think about SiMPLE-OS? (My own POSIX-ish kernel/OS) Looking for testers!!!

SiMPLE Desktop with the Custom \"Green Glass\" Aesthetic

Been working on SiMPLE OS for about 6 months.

Started with trying to get "Hello World" on the screen.

Now it has:

  • FAT16 filesystem
  • ELF execution
  • ELF multitasking
  • Unix/Linux-style syscalls
  • fork(), execve(), pipes, signals, mmap()
  • Per-process memory isolation
  • USB EHCI support
  • PS/2 keyboard and mouse support
  • PC speaker support
  • Graphical desktop environment
  • Built-in apps and games
  • 32-bit protected mode kernel

Recent milestone:

✓ fork() memory isolation works

✓ user process crashes don't kill the kernel

✓ page faults are contained to the offending process

Still missing networking and SMP, but it's reached the point where I'm debugging POSIX compatibility instead of basic kernel crashes.

Strong Americana. 🇺🇸

Repo: github.com/linuxkid473/SiMPLE-OS

reddit.com
u/Signal_Reference746 — 1 month ago