예제 #1
0
파일: MBR.cs 프로젝트: zer09/Cosmos
 public MBRPartition(IBMPartitionInformation info, MBR mbr)
 {
     Mbr        = mbr;
     Start      = info.StartLBA;
     Length     = info.LengthLBA;
     Identifier = info.PartitionType;
     blockDev   = mbr.blockdevice;
 }
예제 #2
0
파일: MBR.cs 프로젝트: zer09/Cosmos
 public MBR(Disk bd)
 {
     this.blockdevice = bd;
     Partition        = new IBMPartitionInformation[4];
     Partition[0]     = new IBMPartitionInformation(this, 0);
     Partition[1]     = new IBMPartitionInformation(this, 1);
     Partition[2]     = new IBMPartitionInformation(this, 2);
     Partition[3]     = new IBMPartitionInformation(this, 3);
     Refresh();
 }
예제 #3
0
 public MBR(Disk bd)
 {
     this.blockdevice = bd;
     Partition = new IBMPartitionInformation[4];
     Partition[0] = new IBMPartitionInformation(this, 0);
     Partition[1] = new IBMPartitionInformation(this, 1);
     Partition[2] = new IBMPartitionInformation(this, 2);
     Partition[3] = new IBMPartitionInformation(this, 3);
     Refresh();
 }
예제 #4
0
 public MBRPartition(IBMPartitionInformation info, MBR mbr)
 {
     Mbr = mbr;
     Start = info.StartLBA;
     Length = info.LengthLBA;
     Identifier = info.PartitionType;
     blockDev = mbr.blockdevice;
 }