PotatoOS

System Architecture

How does PotatoOS actually work?

The Four-Layer Stack

PotatoOS operates as a layered system, with each level handling specific responsibilities. Data flows from the user down through STARCH, into Godot, and finally to your host operating system.

PotatoFS

PotatoFS is the file system that powers PotatoOS. It's located in your program data folder (%APPDATA%\PotatoCorp\PotatoOS\potatofs on Windows or $HOME/PotatoCorp/PotatoOS/potatofs) and contains the files for both the system and user data. It's split up into two directories:

/system

system/
  • assets
  • app
  • bin
  • etc
  • host
  • lib

The system folder contains all system files and is generally read-only.

  • assets is used for system assets such as icons.
  • app stores pre-installed and system-wide apps.
  • bin has core essential STARCH scripts and the Mash binary.
  • etc stores configuration files.
  • host stores binaries for communicating with the host OS.
  • lib stores common libraries and modules for STARCH use.

/users

users/
  • bob/
    • documents/
    • downloads/
    • media/
  • alice/
    • documents/
    • downloads/
    • media/

The users folder contains all user data, split for each user.

  • [username] is the home directory for the user, and includes user-specific configuration.
  • [username]/documents can be used for storing documents and code.
  • [username]/downloads is the default download location.
  • [username]/media can be used for storing images and videos.