X
Tap here to go to the mobile version of the site.

Support Forum

Recover jsonLZ4 session from damaged filesystem?

Posted

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?

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?
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
16995 solutions 153465 answers

Helpful Reply

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.

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.
Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.