Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[script]: enable tmpfs for file management #5

Open
1 task done
arrowgent opened this issue Dec 15, 2021 · 1 comment
Open
1 task done

[script]: enable tmpfs for file management #5

arrowgent opened this issue Dec 15, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@arrowgent
Copy link
Owner

BOT NAME

me you i we they

verify

change $HOME folder for writing files to a tmpfs
to reduce writing to disk/ssd
hold everything in ram, possibly faster
only need 1-5mb ram to work on files

caveats? need to write final files to disk for storage. otherwise destroy tmpfs once its usage is complete
might require sudo, if it requires sudo then abandon idea...

Version

user

What system are you seeing the bot on?

Botlist

log output

No response

CODE

  • i am human
@arrowgent arrowgent self-assigned this Dec 15, 2021
@arrowgent arrowgent added the enhancement New feature or request label Dec 15, 2021
@arrowgent arrowgent pinned this issue Dec 15, 2021
@arrowgent
Copy link
Owner Author

possibly use...

TMPDIR="$(mktemp -d)"
"${TMPDIR}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant