Beispiel #1
0
 public Partition(BlockDevice aHost, UInt64 aStartingSector, UInt64 aSectorCount)
 {
     mHost           = aHost;
     mStartingSector = aStartingSector;
     mBlockCount     = aSectorCount;
     mBlockSize      = aHost.BlockSize;
 }
Beispiel #2
0
		public Partition(BlockDevice aHost, UInt64 aStartingSector, UInt64 aSectorCount)
		{
			mHost = aHost;
			mStartingSector = aStartingSector;
			mBlockCount = aSectorCount;
			mBlockSize = aHost.BlockSize;
		}
Beispiel #3
0
		public DeviceStream(string dname)
		{
			this.a = Devices.getDevice(dname);
			this.b = new byte[this.a.get_BlockSize()];
		}