Skip to content

Ability to use cache and swapfile on local disk or flashdrive, also local boot. #6

Open
@selivan

Description

@selivan

Boot parameters and boot files(rootfs.squashfs, home.tar.gz ...) might be saved on local drive that has label=THINCLIENT.

On boot:

  • if server is not available - cached parameters and files are used
  • if server is available:
    • check if files on server has never version
    • download if it was
    • use them
  • if drive is not available: download files to RAM and use it

This keeps the system flexible but makes it more reliable. Also storing rootfs on drive saves available RAM.

Swapfile should be created if doesn't exist and used(with minimal vm.swappiness=1) if configured in boot parameters. For low-memory systems, along with zram.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions