SchOS/tools/posix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz df1394eaa3 SCFF: the live root ships compressed, with Xorg and Window Maker
SCFF, the SchOS Compressed File Format (include/fs/scff.h), is a block
image cut into 128 KB chunks, each its own zstd frame, behind an index.
tools/mkscff writes it from fs-ram.img on every core (-19, 11 s) and
checks each chunk decompresses to itself. The kernel carries the .scff
as its ramdisk and unpacks a chunk the first time a block in it is
read; zero blocks share one page. The kernel and the ISO are the
compressed size, and the root costs memory only for what is touched.
See docs/architecture/scff.md.

zstd 1.5.7 comes from ports/zstd like uACPI: the decoder is compiled
into the kernel at -O2, with a static context and a 64 KB stack of its
own, and mkscff builds the whole library from the same release.

world now has xorg-server, the fbdev and evdev drivers, xinit, Window
Maker, xterm and DejaVu, and /root/.xinitrc runs wmaker. That root is
358 MB, 102 MB as SCFF.

The ISO no longer carries the root a third time as an ISO 9660 tree,
which nothing read. schos.iso: 1389 MB -> 318 MB. El Torito keeps its
own copy of the EFI image, the layout real machines have booted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 21:17:31 +02:00
..
alpine-lock.sh build: an apk-managed root, with SchOS as a package 2026-10-24 15:28:32 +02:00
memory-sync.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
mkaroot.sh SCFF: the live root ships compressed, with Xorg and Window Maker 2026-10-24 21:17:31 +02:00
mkdisk.sh storage: AHCI, GPT/MBR partitions, and a disk a PC can boot 2026-10-22 10:57:41 +02:00
mkiso.sh SCFF: the live root ships compressed, with Xorg and Window Maker 2026-10-24 21:17:31 +02:00
mktree.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
mutate.sh tools: scripts that run from anywhere, and a mutation test that ran nothing 2026-08-11 10:39:58 +02:00
schcom_test.sh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
schfs_roundtrip.sh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
setup-fedora.sh Prepare for the move to Fedora 2026-08-09 17:25:07 +02:00
sha256check.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00