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

Large Sector Sizes #14

Closed
leofidus opened this issue Mar 14, 2022 · 1 comment
Closed

Large Sector Sizes #14

leofidus opened this issue Mar 14, 2022 · 1 comment

Comments

@leofidus
Copy link
Contributor

As @msuhanov noted in #12, Arsenal Image Mounter can emulate 4kn/512e devices. This indeed allows you to create valid If you mount an image as writable and format it with Windows, you get an NTFS file system with 4096 sector size.

Here's an example image, which when mounted in Arsenal Image Mounter with 4k sector size and as "removable device" (because I didn't include a partition table) is recognized as a normal NTFS filesystem: empty-4kSectors-8GB.img.gz

Using the same method I was also able to create images with sector sizes of 1024 and 2048 bytes. 8192 bytes and larger fails: Windows can create the partition, but can't format it. This matches with my comment in #12 about the sector size being limited by the page size (so what about Windows on an Alpha or Itanium system with 8k pages? Probably not that relevant though).

ColinFinck added a commit that referenced this issue Mar 19, 2022
A first step towards fixing #14.
Some work remains in those places that don't yet distinguish between the variable sector size per partition and the fixed NTFS block size of 512 bytes.
Even the available NTFS documentation often mixes up both.
@ColinFinck
Copy link
Owner

Should work now up to sector sizes of 4K.
Thanks for the Arsenal Image Mounter tip @msuhanov and the test image @leofidus!

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

No branches or pull requests

2 participants