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

Diff of /trunk/src/GLIStorageDevice.py

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

Revision 182 Revision 183
211 devdic = {} 211 devdic = {}
212 for part in self._partitions: 212 for part in self._partitions:
213 tmppart = self._partitions[part] 213 tmppart = self._partitions[part]
214 devdic[part] = { 'mb': 0, 'start': tmppart.get_start(), 'end': tmppart.get_end(), 'type': tmppart.get_type(), 'mountpoint': tmppart.get_mountpoint(), 'mountopts': tmppart.get_mountopts(), 'format': tmppart.get_format() } 214 devdic[part] = { 'mb': 0, 'start': tmppart.get_start(), 'end': tmppart.get_end(), 'type': tmppart.get_type(), 'mountpoint': tmppart.get_mountpoint(), 'mountopts': tmppart.get_mountopts(), 'format': tmppart.get_format() }
215 return devdic 215 return devdic
216
217 def get_extended_partition(self):
218 for part in self._partitions:
219 tmppart = self._partitions[part]
220 if tmppart.is_extended():
221 return part
216 222
217 def get_num_sectors(self): 223 def get_num_sectors(self):
218 return int(self._total_sectors) 224 return int(self._total_sectors)
219 225
220 def get_cylinder_size(self): 226 def get_cylinder_size(self):

Legend:
Removed from v.182  
changed lines
  Added in v.183

  ViewVC Help
Powered by ViewVC 1.1.20