Share a Host Folder with the Guest
Host mounts are the comfortable way to edit on your desktop and run in the guest. Save a script in
your normal editor, then execute the same file under /mnt.
Configure a read-only mount
Section titled “Configure a read-only mount”Add an entry to the live gatos.toml before starting the VM:
[[mounts]]name = "scripts"path = "C:/Users/you/ksa-scripts"read_only = trueOn Linux, use an absolute Linux path. The name becomes the guest directory.
- Shut down the gatOS VM.
- Add the mount entry and save
gatos.toml. - Start the VM and run
ls -la /mnt/scripts. - Edit a file on the host, then read it again from the guest.
Make it writable
Section titled “Make it writable”Set read_only = false only when guest programs must create or change host files.
Mounts use a separate 9P server from /sim. They are not exposed through HTTP, MQTT, serial, or MCP.
Host mounts referenceNames, paths, access rules, lifecycle, and failure behavior.