-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
DietPi-RAMdisk | Replace with vmtouch to use native fs caching #3402
Conversation
@MichaIng |
+ DietPi-Globals | Read network info from new runtime dir + DietPi-Globals | Check if G_PROGRAM_NAME has a non-empty string assigned, instead of checking if it is declared only, before using it in titles etc. + DietPi-Globals | Move G_FP_LOG_APT to /tmp tmpfs, since it is removed by G_ERROR_HANDLER in every case anyway, after in case printing error log to console. More persistent log can be as well found in /etc/apt/ and /etc/dpkg.log.
Okay, everything ready from my side:
Do not write runtime files to disk, I moved those to a new runtime tmpfs dir
|
@MichaIng
All fine, except the Not sure if this is something but I found this on
|
@Joulinar Done: 9895c3d + edafa69
We clear the /tmp dir when creating new images, however it can happen by times that something is written to the non-tmpfs /tmp dir when it mounts late at boot or unexpectedly unmounts or such. To solve:
|
+ DietPi-Patch | Add an info before terminating obsolete DietPi-Update parent instance, else the "Terminated" print might users feel rattled: #3402 (comment)
+ DietPi-Pre-patch | Add an info before terminating obsolete DietPi-Update parent instance, else the "Terminated" print might users feel rattled: #3402 (comment)
@MichaIng
Question: should there be an automated reboot initiated? |
Nope, only on first boot, if this is the firstrun update and the image is pre-v6.20. |
Roger that |
Status: Review
ToDo:
Commit list/description: