Giter Club home page Giter Club logo

Comments (12)

relan avatar relan commented on September 15, 2024

would it be technically possible to implement an option to update the vbr checksum anyway in exfatfsck (it’s not about correcting errors, but just letting exfatfuse and other tools from other projects go while knowing risks)

Of course it's technically possible (though quite dangerous). But why is this better than teaching exfatfsck to fix errors?

vbr checksum‘s value is part of the data being checksummed, isn’t it ?

VBR checksum itself is not checksummed.

from exfat.

ytrezq avatar ytrezq commented on September 15, 2024

@relan :VBR checksum itself is not checksummed. Ok, so it’s impossible for the vbr checksum to start at the first byte of a device partition ?

But why is this better than teaching  exfatfsck  to fix errors?

Currently, I need to test other implementations, and so far your tool seems to be the only open source one running in userspace.
So this is only for testing purpose, I have no data to rescue on an exfat volume.

from exfat.

relan avatar relan commented on September 15, 2024

so it’s impossible for the vbr checksum to start at the first byte of a device partition ?

At the 1st byte of partition starts VBR. VBR checksum is located in 11th sector from the beginning of the partition. See verify_vbr_checksum() function. For testing you can just remove the check there.

from exfat.

ytrezq avatar ytrezq commented on September 15, 2024

@relan :VBR checksum is located in 11th sector from the beginning of the partitionok, so it mean there’s a bug in the filesystem implementation I tested, I definitely need a tool to update checksums, please !

from exfat.

relan avatar relan commented on September 15, 2024

Well, yesterday I've actually implemented VBR checksum repair in exfatfsck just to estimate how hard and ugly this would be. Check out repair branch.

from exfat.

ytrezq avatar ytrezq commented on September 15, 2024

@relan : thanks, would it possible to get the same thing for node checksums ?

Of course, I only want to update checksums, not to modify any other things on the filesystem.

from exfat.

relan avatar relan commented on September 15, 2024

would it possible to get the same thing for node checksums ?

Very busy right now, cannot promise anything.

I've splitted changes in the repair branch into 7 commits, so now it should be more obvious how to add new repair cases.

from exfat.

relan avatar relan commented on September 15, 2024

I've implemented nodes checksums repairing. See repair branch.

from exfat.

relan avatar relan commented on September 15, 2024

Closing as a duplicate of #3.

from exfat.

xeruf avatar xeruf commented on September 15, 2024

how can I use the functionality? On ubuntu, even after installing directly from master, I only get exfatfsck 1.2.8, and if I read it correctly you added this in 1.3?

from exfat.

relan avatar relan commented on September 15, 2024

how can I use the functionality? On ubuntu, even after installing directly from master, I only get exfatfsck 1.2.8

Did you configure fuse-exfat to be installed into /usr? It installs into /usr/local by default.

from exfat.

xeruf avatar xeruf commented on September 15, 2024

ah well, it was not fuse-exfat, exfatfsck is part of exfat-utils. I now simply downloaded a deb from a later ubuntu version (https://packages.ubuntu.com/disco/exfat-utils) and installed it successfully 👍

finally I am able to change my sd-card id :P

from exfat.

Related Issues (20)

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.