-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to manually set sector size? I think recuperabit is assuming my 4096 sector size disk has 512 sector size. #99
Comments
Currently there is no option for this, but it's a useful request. |
I mean I might be wrong, if I'm wrong the feature is useless (recuperabit is already choosing the right sector size) but if I am right? reuperabit is almost always choosing the wrong sector size (at least on modern hdds). Of course the code for this idea is way over my head :) |
To clarify, currently RecuperaBit is not "chosing" any size, it is set as a constant equal to 512. 😅 |
Hm. I found this ticket and started wondering if it affects me. For the record, sector size can be easily seen by running fdisk. In my case, the output is:
I guess logical sector size is what we're looking for, right? And if that number was different, then simply editing |
What we are concerned with is the sector size used by the file system, not by the physical disk. If the logical size is 512, you should be OK. |
Is there a way to manually set sector size? I've got an image of a harddrive where the sector size is 4096 (because on modern harddrives that is what it is) but a lot of linux cli functions default to 512 sector size (and usually include an option flag to select an alternate sector size.)
Maybe I'm just wrong about how many sectors I have, but Recuperabit did find file/index records once every 8 sectors, which would fit with my theory. This also means recuperabit is going 8 times slower than it needs to on most modern harddrives?
The text was updated successfully, but these errors were encountered: