SchOS/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz d0941780f5 ramdisk: the live root grows into half of memory
The live root was a fixed 96 MB image in the kernel: 60 MB of zeros on
the ISO, twice, and room for 60 MB of packages whatever the machine had.

Now the image is only what the root holds, plus slack, measured by
building it once large. Past its end the ramdisk goes on to half of the
memory free at mount, as pages taken the first time each block is
written; an unwritten block reads as zeros and costs nothing. SchFS
keeps no free-space map on disk, so growing a volume is a larger total
before open builds the map: grow_to, set for the ramdisk root.

8 GB machine: a 4 GB root, Xorg installed into it in 77 s with 7.6 GB
still free. The ISO is 172 MB instead of 344.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 17:20:43 +02:00
..
arch kernel: load at 16 MB, clear of what firmware keeps low 2026-10-24 00:13:53 +02:00
core ramdisk: the live root grows into half of memory 2026-10-24 17:20:43 +02:00
dev input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00
fs epoll, eventfd, timerfd, signalfd 2026-10-24 10:59:52 +02:00
gfx input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00
net include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uapi flock, fcntl record locks 2026-10-24 12:22:36 +02:00