Esempio n. 1
0
        public async Task SetGptType(PartitionType partitionType)
        {
            Log.Verbose("Setting partition type to {Partition} from {OldType} to {NewType}", this, PartitionType, partitionType);
            await LowLevelApi.SetPartitionType(this, partitionType);

            Log.Verbose("Partition type set");
        }
Esempio n. 2
0
 protected bool Equals(PartitionType other)
 {
     return(Guid.Equals(other.Guid));
 }
 public Task SetGptType(PartitionType basic)
 {
     return(DiskApi.SetGptType(this, basic));
 }
Esempio n. 4
0
 public static Task <IPartition> CreatePartition(this IDisk self, PartitionType partitionType, string label = "")
 {
     return(self.CreatePartition(ByteSize.MaxValue, partitionType, label));
 }