/[gli]/trunk/src/GLIStorageDevice.py
Gentoo

Diff of /trunk/src/GLIStorageDevice.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 730 Revision 731
37 37
38 ## 38 ##
39 # Initialization function for GLIStorageDevice class 39 # Initialization function for GLIStorageDevice class
40 # @param device Device node (e.g. /dev/hda) of device being represented 40 # @param device Device node (e.g. /dev/hda) of device being represented
41 # @param arch="x86" Architecture that we're partition for (defaults to 'x86' for now) 41 # @param arch="x86" Architecture that we're partition for (defaults to 'x86' for now)
42 def __init__(self, device, arch="x86", set_geometry=True): 42 def __init__(self, device, arch="x86", set_geometry=True, virtual=False, size_known=False):
43 self._device = device 43 self._device = device
44 self._partitions = {} 44 self._partitions = {}
45 self._geometry = {'cylinders': 0, 'heads': 0, 'sectors': 0, 'sectorsize': 512} 45 self._geometry = {'cylinders': 0, 'heads': 0, 'sectors': 0, 'sectorsize': 512}
46 self._total_bytes = 0 46 self._total_bytes = 0
47 self._cylinder_bytes = 0 47 self._cylinder_bytes = 0

Legend:
Removed from v.730  
changed lines
  Added in v.731

  ViewVC Help
Powered by ViewVC 1.1.20