fix: raise ramdisk file table to 2048 entries, log when full

The 0:/usr devkit pushed the base image to ~650 files, past the
ramdisk's MaxFiles = 512. The USTAR loader silently dropped the tail
of the archive and, worse, every runtime Create/Mkdir failed once the
table was full - so first-boot account creation could not write the
user database and every login failed with "invalid username or
password".

Raise MaxFiles to 2048 (256 KiB static table) and log loudly both
when archive entries are dropped at load and when Create/Mkdir hit
the cap, so a full table can never masquerade as an auth failure
again.

Verified in QEMU end to end: setup -> create account -> log in ->
desktop.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
2026-07-14 21:03:53 +02:00
co-authored by Claude Fable 5
parent fe040f8fea
commit b0ac3132c5
3 changed files with 20 additions and 4 deletions
+1 -1
View File
@@ -12,4 +12,4 @@
#pragma once
#define MONTAUK_BUILD_NUMBER 11
#define MONTAUK_BUILD_NUMBER 12