public Partition(Cosmos.Hardware.BlockDevice.Partition part, clusterSize cluster_size)
 {
     clusterAmount = (ulong)cluster_size;
     clusterScale  = (uint)cluster_size / (uint)part.BlockSize;
     clusterAmount = part.BlockCount / (ulong)cluster_size;
 }
示例#2
0
 public Partition(Cosmos.Hardware.BlockDevice.Partition part, clusterSize cluster_size)
 {
     clusterAmount = (ulong)cluster_size;
     clusterScale = (uint)cluster_size / (uint)part.BlockSize;
     clusterAmount = part.BlockCount / (ulong)cluster_size;
 }