Skip to content

Virtual File System

KN edited this page May 23, 2024 · 2 revisions

File paths

Tokens

A file path can contain the following tokens:

  • Names that match this regex: [A-Za-z0-9_.\- \(\)\[\]\{\}~!@#$%^&',;=+].
  • A volume label followed by the label separator character :.
  • The name separator character / separates directory and file names within the file hierarchy.

Formats

Patchwork supports the following file path formats:

Path Description
volume:/folder/file.txt An absolute path from the root of volume.
/folder/file.txt A relative path from the current working volume.
file.txt A relative path from the current working directory.

Volumes

Patchwork will always boot with two special partitions that cannot be unmounted.

Name Description
home Stores the bootloader, kernel, programs and other user data, it's the equivalent to the c drive in DOS-like systems.
sys Stores system resources, for example sys:/kbd/ps2, it's the equivalent of the dev, proc and sys folders on Unix-like systems.
Clone this wiki locally