-
Notifications
You must be signed in to change notification settings - Fork 585
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
[Feature Request] mount emmc as readonly, store diff into sdcard #1060
Comments
Because its a lot more work for almost no gain. Diffs take extra effort to calculate in real-time, if you mess up once the entire image is corrupted, it breaks if literally anything changes in the base image and isn't really going with the whole point of emunand, which is to have a completely separate nand you can boot into that cannot affect the other in any way |
Sorry, but write new changed blocks to a seperate image does not take that much "calculate effort" , and also by mount the emmc readonly there's no way you can affect it I do agree you said "anything changed in base will break the image", and what I trying to say is backing up your emmc tooks long time, and I'm not saying emummc is useless, but for testing or temporary one-time usage, dd 30-60gigs of data is just took too much time |
There isn't even a concept of "mounting the emmc readonly" in emummc. This isn't Linux. |
Thanks for reply, i thought it was block based but after read the emummc driver i figured it's sector based. |
it takes a LOT more work than you want happening literally any time anything is written to in the nand, something that happens nearly constantly by background processes |
"literally any tine anything is written to in the nand" sounds isnt quite a good statement to me: |
A. There is more than one partition on the NAND, Settings only shows one of them. |
I wonder if it's possible to not fully dd the whole emmc into sdcard to isolate your OFW and CFW, if the decryption keys are avaliable in bootloader stage, why not just mount emmc as readonly, then store any written block as diff image in sdcard.
Though probablly any boot into OFW after diff image been created will likely to break the whole image in sdcard, but it's still nice to have if wanna to temporary test some dangerous CFW in this environment.
Idk if it's doable because the emmc encryption, just discussion the possibility here.
The text was updated successfully, but these errors were encountered: