Permanent fstab entries (and possibly more) #59
Replies: 8 comments 1 reply
-
Instances of default configuration vs patched local one to be addressed (for some a partial solution might have been already implemented):
|
Beta Was this translation helpful? Give feedback.
-
IMHO that is all already solved, if you carefully read the the Install docs :) You just put a The files that are preserved within the mod itself (automatically), that is only really intended for more for some special cases (they are listed in the install docs). Network settings are already included. I don't see a purpose for a Hotspot mode, just makes things to complicated. WiFi can be configured as needed before the install already. |
Beta Was this translation helpful? Give feedback.
-
I have, I just consider this approach functional but not ideal. Manually patching the installation, requiring the user to manually retrieve files from the printer to save them is not exactly ergonomic.
Was it not the default behaviour of the original firmware? |
Beta Was this translation helpful? Give feedback.
-
Not that I know of. Can't find it in the manual either. |
Beta Was this translation helpful? Give feedback.
-
I still have no access to the hardware, and I just saw that option once before nuking the original image, never tested it. I was able to track it down on this video: Regardless, I am not suggesting we should replicate 1:1 the user experience provided by the original firmware, but some people might be using it since it is there. |
Beta Was this translation helpful? Give feedback.
-
Ah, yea it's there (no you know how often I've used the stock firmware). KlipperScreen does not support it. IWD does, and if a user really wants it I guess they can use the overlay to make it happen? Config files are persistent. |
Beta Was this translation helpful? Give feedback.
-
Since the most promising UI proposal for this project would not support it regardless, I think you are right. At the very least, this is a regression over the original firmware, so I would simply add a line or two making it explicit in the docs, and add a basic configuration file for reference. |
Beta Was this translation helpful? Give feedback.
-
For some files, like the printer.cfg it probably makes sense to add them to the automatic persistence mechanism - because calibration data is different for each printer and locally generated. Maybe that mechanism could be extended to allow explicitly marking of additional files/folder to be preserved. But in general I consider a printer with embedded Linux to be a different use case than a Linux desktop. I think it should rather be considered like a Docker container or automatically deployed server that can be deleted an reliably rebuilt from scratch if needed. Re-building the system in a structured and automated way is the cleaner approach and easier to maintain - I think that should be encouraged rather than adding complex ways to preserve local changes, because that would probably never meet everyone requirements. The |
Beta Was this translation helpful? Give feedback.
-
Originally posted by @consp in #45 (comment)
Find the best way to keep some local configuration persistent when upgrading the image, like for
/etc/fstab
. Ideally an option to decide if patches should be applied post-upgrade, or if the user wants a clean install.Beta Was this translation helpful? Give feedback.
All reactions