Skip to content

[Request]: select temp folder for download/update cache #717

Closed as duplicate

Description

@qinlili23333

Is your request related to a problem?

No

How is the feature request related to the problem?

No response

Describe your proposed solution

Currently, the download/update cache (archive file for traditional download mode, and diff file for sophons mode) is stored in installation folder. This means during download/update, the disk will be written approx twice of the installation size. This is not friendly to SSD users since SSD lifespan is limited for total witten data amount.
If we can select a temp folder, we can put this folder on somewhere written data won't damage the storage lifespan or the disk is nearly dead which can be abused (e.g. ramdisk, some old small HDD, some SSD with 0E issue that are ready to break down some time)

Describe alternatives you've considered

Keep download/update cache in memory, but this is not applicable for those devices without large ram but has storage nearly dead.

File system filter drivers, which can be developed independently without changing main program. But developing drivers seems to be more difficult and drivers need EV signature which may be expensive.

Additional context

No response

Activity

  1. shatyuka commented on Apr 2, 2025

    @shatyuka
    Contributor

    Duplicated #306.

  2. self-assigned this
    on Apr 2, 2025
  3. neon-nyan commented on Apr 2, 2025

    @neon-nyan
    Member

    As per this issue is duplicated with #306, we will keep a track of the issue there.
    Going to tag this issue duplicated and closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DuplicateThis issue or pull request already existsEnhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions