Recover jsonLZ4 session from damaged filesystem?
A file system on my flash drive got damaged. The file system itself became unreadable. However, some files contents stored on it can still be found using a “Grep” search. I also took an image of that flash drive to be sure.
Guess what: I just found yet another LZ4 disadvantage.
And yes, jscher2000's scrounger, despite it is a very good thing, always crashes the tab. I would be delighted if Mozilla just got rid of LZ4 or gave users a choice to deactivate it.
LZ4 is like the “YouTube Heroes” system: Everybody despises it, nobody asked for it. #EverybodyHatesLZ4.
—————————————–
Now, how do I retrieve the LZ4 session from a file on a dead, headless file system? The data does exist, just not in plain text but in LZ4 rubbish. How do I get the plain text from it?
Alle antwurden (1)
If the file isn't fragmented then it should be possible to copy its sectors to a new file. If the file is fragmented or its size is unknown then this would require a lot of effort. I agree that a text file should be easier to recover. For bookmarks you can create a backup manually, but for session data this isn't easy. You could decompress the session files before backing them up.