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

bugfix: cleanup hdd.path, when stop) #237

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

HoTschir
Copy link

This ensures, hdd.path is removed, when log2ram stop is executed.

repeated start) (without stop) does not cause additional "mount --bind" anymore
LOG2RAM_LOG, extended by sync_to_disk, needs to be rescued separately
cleanup at stop)
LOG2RAM_LOG, extended by sync_to_disk, is rescued to hdd.path
@azlux
Copy link
Owner

azlux commented Sep 25, 2024

why to you want to remove the HDD files ? It's make additional writes on reboot.
Rsync will delete files after sync if deleted from the source (option --delete-after ).

@HoTschir
Copy link
Author

why to you want to remove the HDD files ?:
Maybe you want to leave the system as clean as you have entered it?
It's make additional writes on reboot.:
That's an argument, but how often you are rebooting?
You are free to accept or refuse the request. Don't want to discuss about it further.

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

Successfully merging this pull request may close these issues.

2 participants