Files
reims-vgpu/docs/graphics-kext
Anees Iqbal 029fbe1ed7 🐛 Place the bundle only on a volume that takes writes
The placement writes below the VFS, which skips its read-only check, and it
wrote into /System/Library/Caches without making that check itself, where the
BaseSystem's install makes it for /Library. Every release we keep firmlinks that
path to the Data volume, so no boot has reached a read-only place, but where the
path resolved to the sealed system volume the kext would write into it.

rgfx_place.h's steps now ask the file system whether the volume a path resolves
to takes writes (KernelPlace::writable: vfs_isrdonly of the path's mount, or of
its nearest existing ancestor's): placing on a read-only volume writes nothing
there and leaves the tree at /Library/GPUBundles, and a placed tree on one does
not move back, so the install stages nothing and the placement stays as it was.
place_test covers both over a directory whose volume answers read-only while
its writes still succeed, as the kext's do. For the guest: nothing changes on
the releases we keep; the check adds one lookup per pass.
2026-12-03 02:57:54 -08:00
..