Coder Social home page Coder Social logo

Scan directories only about fatcat HOT 2 OPEN

gregwar avatar gregwar commented on May 26, 2024
Scan directories only

from fatcat.

Comments (2)

Gregwar avatar Gregwar commented on May 26, 2024 1

Hello,

Why not
But maybe we should investigate why it crashed as well to prevent this from happening

from fatcat.

gitqlt avatar gitqlt commented on May 26, 2024

Hello, thank you for answering.

Regarding the crash, I found the followings with my damaged image.
(I have to keep that image private, sorry...).

I use fatcat v1.0.6.
It seems that when a subdirectory contain file(s) with no filename (and/or pointing to cluster 0), recovering them results in crash. Like here in the listings:

f 0/0/1980 00:00:00                                 c=0 s=2 (2B)

or:

Listing cluster 914
Directory cluster: 914
d 6/1/2019 00:14:20  ./                             c=914
d 6/1/2019 00:14:20  ../                            c=912
f 0/0/1980 02:00:00                                 c=0 s=0 (0B)
f 0/0/1980 00:00:00                                 c=0 s=0 (0B)

The recovery gives:

Extracting /Android/data/com.dropbox.android/files/.@ to
/var/tmp/resc/Android/data/com.dropbox.android/files/.@
bash: segmentation fault (core dumped)  fatcat /tmp/sdh.img -O 1048576 -x /var/tmp/resc

in gdb:
Program received signal SIGSEGV, Segmentation fault. _IO_new_fclose (fp=0x0) at iofclose.c:48 48 iofclose.c: No such file or directory. (gdb)

I hope that this helps you to fix. Anyway, this program is lifesaving! Thanks for it.

from fatcat.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.