Class MBR
Inheritance
System.Object
MBR
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.HAL.BlockDevice
Assembly: Cosmos.HAL2.dll
Syntax
public class MBR
Constructors
| Improve this Doc View SourceMBR(BlockDevice)
Declaration
public MBR(BlockDevice device)
Parameters
Type | Name | Description |
---|---|---|
BlockDevice | device |
Fields
| Improve this Doc View SourceEBRLocation
Declaration
public uint EBRLocation
Field Value
Type | Description |
---|---|
System.UInt32 |
Partitions
Declaration
public List<MBR.PartInfo> Partitions
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<MBR.PartInfo> |
Methods
| Improve this Doc View SourceCreateMBR(BlockDevice)
Declaration
public void CreateMBR(BlockDevice aDevice)
Parameters
Type | Name | Description |
---|---|---|
BlockDevice | aDevice |
ParsePartition(Byte[], UInt64)
Declaration
protected void ParsePartition(byte[] aMBR, ulong aLoc)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | aMBR | |
System.UInt64 | aLoc |
WritePartitionInformation(Partition, Byte)
Declaration
public void WritePartitionInformation(Partition partition, byte PartitionNo)
Parameters
Type | Name | Description |
---|---|---|
Partition | partition | |
System.Byte | PartitionNo |