org.blinkenbyte.io
Class BlockDevice.DriveGeometry

java.lang.Object
  extended by org.blinkenbyte.io.BlockDevice.DriveGeometry
Enclosing interface:
BlockDevice

public static class BlockDevice.DriveGeometry
extends java.lang.Object

Class representing the geometry of a device


Field Summary
 long diskSize
          Size of the device in bytes.
 int numBytesPerSector
          Number of bytes per sector.
 long numCylinders
          Number of tracks or cylinders.
 int numHeads
          Number of heads.
 int numSectorsPerTrack
          Number of sectors per track.
 
Constructor Summary
BlockDevice.DriveGeometry()
           
BlockDevice.DriveGeometry(long _diskSize, long _numCylinders, int _numHeads, int _numSectorsPerTrack, int _numBytesPerSector)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diskSize

public long diskSize
Size of the device in bytes.


numCylinders

public long numCylinders
Number of tracks or cylinders.


numHeads

public int numHeads
Number of heads.


numSectorsPerTrack

public int numSectorsPerTrack
Number of sectors per track.


numBytesPerSector

public int numBytesPerSector
Number of bytes per sector.

Constructor Detail

BlockDevice.DriveGeometry

public BlockDevice.DriveGeometry()

BlockDevice.DriveGeometry

public BlockDevice.DriveGeometry(long _diskSize,
                                 long _numCylinders,
                                 int _numHeads,
                                 int _numSectorsPerTrack,
                                 int _numBytesPerSector)