We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Recover jsonLZ4 session from damaged filesystem?

  • 1 (رد واحد)
  • 1 has this problem
  • 12 views
  • آخر ردّ كتبه cor-el

more options

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?

All Replies (1)

more options

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.