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

Populates device block size before hidden sector #546

Conversation

PartialVolume
Copy link
Collaborator

Now populates the block size (physical) before
the hidden sector determination function runs.

The naming of block/sector can be very confusing in nwipe. So I have created a device_phy_sector_size
in the drive context, so we have

->device_sector_size // logical sector size
->device_phys_sector_size // physical sector size
->device_block_size // Usually the same as logical size but could be increased by nwipe to encompass
multiple logical sectors, i.e a block of sectors

Now populates the block size (physical) before
the hidden sector determination function runs.

The naming of block/sector can be very confusing in
nwipe. So I have created a device_phy_sector_size
in the drive context, so we have

->device_sector_size // logical sector size
->device_phys_sector_size // physical sector size
->device_block_size // Usually the same as logical
size but could be increased by nwipe to encompass
multiple logical sectors, i.e a block of sectors
@PartialVolume PartialVolume merged commit 2fae6ea into martijnvanbrummelen:master Feb 15, 2024
2 checks passed
@PartialVolume PartialVolume deleted the Determine_block_sizes_before_hidden_sector_detection branch February 15, 2024 23:21
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.

1 participant