Cluster address printed for cluster zero is wrong
aj-bagwell opened this issue · 0 comments
aj-bagwell commented
I want to create a file system with a file at a specific point, so I was using fcat -@ 0
to find the base address of the clusters then some simple maths (data_addr - base_addr)/cluster_size
to find the cluster that points to the data.
I noticed that it worked in 1.05 and not in v1.1.0 it looks like change 530b663 to support larger disks broke it.
1.0.5:
Cluster 0 address:
47104 (000000000000b800)
Next cluster:
FAT1: 4294967295 (ffffffff)
FAT2: 4294967295 (ffffffff)
Chain size: 1 (2048 / 2K)
Chain is contiguous
1.1.0:
Cluster 0 address:
8796093069312 (000008000000b800)
Next cluster:
FAT1: 4294967295 (ffffffff)
FAT2: 4294967295 (ffffffff)
Chain size: 1 (2048 / 2K)
Chain is contiguous