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

Diff of /trunk/src/GLIStorageDevice.py

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

Revision 611 Revision 616
474 label_type = device._parted_disk.type.name 474 label_type = device._parted_disk.type.name
475 if label_type == "loop": 475 if label_type == "loop":
476 dev_node = device._device 476 dev_node = device._device
477 else: 477 else:
478 dev_node = device._device + str(self._orig_minor) 478 dev_node = device._device + str(self._orig_minor)
479 print "dev_node = " + dev_node 479# print "dev_node = " + dev_node
480 if type == "ntfs": 480 if type == "ntfs":
481 min_bytes = int(commands.getoutput("ntfsresize -f --info " + dev_node + " | grep -e '^You might resize' | sed -e 's/You might resize at //' -e 's/ bytes or .\+//'")) 481 min_bytes = int(commands.getoutput("ntfsresize -f --info " + dev_node + " | grep -e '^You might resize' | sed -e 's/You might resize at //' -e 's/ bytes or .\+//'"))
482 self._min_mb_for_resize = int(min_bytes / MEGABYTE) + 1 482 self._min_mb_for_resize = int(min_bytes / MEGABYTE) + 1
483 self._resizeable = True 483 self._resizeable = True
484 elif type == "ext2" or type == "ext3": 484 elif type == "ext2" or type == "ext3":

Legend:
Removed from v.611  
changed lines
  Added in v.616

  ViewVC Help
Powered by ViewVC 1.1.20