| 30 | } |
| 31 | |
| 32 | uint64_t Fat32Volume::ClusterToLBA(uint32_t cluster){ |
| 33 | return (bootRecord->bpb.reservedSectors + bootRecord->bpb.fatCount * bootRecord->ebr.sectorsPerFAT) + cluster * bootRecord->bpb.sectorsPerCluster - (2 * bootRecord->bpb.sectorsPerCluster); |
| 34 | } |
| 35 | |
| 36 | Fat32Volume::Fat32Volume(PartitionDevice* _part, char* name){ |
| 37 | this->part = _part; |
nothing calls this directly
no outgoing calls
no test coverage detected