-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can it write to the specific partition? #2
Comments
Could you kindly clarify which scenario of interaction with the program requires the selection of a specific disc partition? |
I wanted to test several FSDs (file systems drivers), like
I guess this fragment of the article I discovered might help if you go at implementing this feature: |
But this would require editing the partition table, which is beyond the capabilities of this program... 🤔 |
Sure, I just described my workaround :) And the linked text tells how to achieve that using the existing partition:
I guess locking the volume would be a quickest way. Dismounting the volume would be the safest one. |
OK, I see your code already issues VisualDiskImager/VisualDiskImager/DeviceVolume.cpp Lines 60 to 80 in 185b571
VisualDiskImager/VisualDiskImager/DeviceWrite.cpp Lines 85 to 89 in 185b571
|
What I meant was that the partition table is physically in one place on the disk, and the partition data is a completely different place on the disk. It is not possible to write both as a simple image. |
I agree, these are different things. But my original message / feature request is about replacing data in an existing partition only (ie. to keep the partition table intact). For this, only one volume would need locking / dismounting (and only in case it's not raw). Plus, starting offset on the media during the write operation would need to change from |
Have a look at a new release? |
To me it looks like the tool cannot restore content of a specific partition:
If that's true, please take this a feature request :)
The text was updated successfully, but these errors were encountered: