Skip to content
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

64bit LBA support (> 2TiB disk support) #68

Closed
wants to merge 0 commits into from

Conversation

shutingrz
Copy link
Contributor

The current code only supports 32-bit LBAs and does not support 64-bit LBAs.
Therefore, when a disk of 2 TiB or larger is connected, "READ CAPACITY" does not report the correct capacity. (However, if the disk is initialized with GPT, the current code can still be used.)
To improve this, "READ CAPACITY (16)", "READ (16)", and "WRITE (16)" have been implemented.

image

@antoinevg
Copy link
Member

Rebased in #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants