OpenOrbis / mira-project-archive

The Homebrew Platform
GNU General Public License v3.0
221 stars 50 forks source link

App Persistent Storage #76

Closed Cryptogenic closed 4 years ago

Cryptogenic commented 6 years ago

Mira would be a nice middle-man for homebrew apps to use for persistent storage. Each homebrew app could have a unique identifier which Mira would read and provide an API to the app to read/write from/to it's unique persistence directory.

This allows homebrews to use persistent storage without making an absolute mess of the filesystem by keeping it neat and organized via Mira.

ghost commented 6 years ago

Possibility:

Using the same method of OverlayFS, create a nullfs of the folder /data/HMBR00001 when app is mounted (and create the folder if he don’t exist)

flatz commented 5 years ago

there's builtin functionality for doing this (download0/download1 directories) available from app content module iirc