Exemple #1
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  mountpoint = %(mountpoint)s  mountopts = %(mountopts)s\n"
           "  label = %(label)s  size = %(size)s\n" %
           {"mountpoint": self.mountpoint, "mountopts": self.mountopts,
            "label": self.label, "size": self._size})
     return s
Exemple #2
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  vgName = %(vgName)s  vgUUID = %(vgUUID)s"
           "  peStart = %(peStart)s" %
           {"vgName": self.vgName, "vgUUID": self.vgUuid,
            "peStart": self.peStart})
     return s
 def __str__(self):
     s = Format.__str__(self)
     s += ("  mountpoint = %(mountpoint)s  mountopts = %(mountopts)s\n"
           "  label = %(label)s  size = %(size)s\n" %
           {"mountpoint": self.mountpoint, "mountopts": self.mountopts,
            "label": self.label, "size": self._size})
     return s
Exemple #4
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  priority = %(priority)s  label = %(label)s" % {
         "priority": self.priority,
         "label": self.label
     })
     return s
 def __str__(self):
     s = Format.__str__(self)
     s += ("  vgName = %(vgName)s  vgUUID = %(vgUUID)s"
           "  peStart = %(peStart)s" %
           {"vgName": self.vgName, "vgUUID": self.vgUuid,
            "peStart": self.peStart})
     return s
Exemple #6
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  mdUUID = %(mdUUID)s  biosraid = %(biosraid)s" % {
         "mdUUID": self.mdUuid,
         "biosraid": self.biosraid
     })
     return s
Exemple #7
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  type = %(type)s  partition count = %(count)s"
           "  sectorSize = %(sectorSize)s\n"
           "  align_offset = %(offset)s  align_grain = %(grain)s\n"
           "  partedDisk = %(disk)r\n"
           "  origPartedDisk = %(orig_disk)r\n"
           "  partedDevice = %(dev)r\n" %
           {"type": self.labelType, "count": len(self.partitions),
            "sectorSize": self.partedDevice.sectorSize,
            "offset": self.alignment.offset,
            "grain": self.alignment.grainSize,
            "disk": self.partedDisk, "orig_disk": self._origPartedDisk,
            "dev": self.partedDevice})
     return s
Exemple #8
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  type = %(type)s  partition count = %(count)s"
           "  sectorSize = %(sectorSize)s\n"
           "  align_offset = %(offset)s  align_grain = %(grain)s\n"
           "  partedDisk = %(disk)r\n"
           "  origPartedDisk = %(orig_disk)r\n"
           "  partedDevice = %(dev)r\n" %
           {"type": self.labelType, "count": len(self.partitions),
            "sectorSize": self.partedDevice.sectorSize,
            "offset": self.alignment.offset,
            "grain": self.alignment.grainSize,
            "disk": self.partedDisk, "orig_disk": self._origPartedDisk,
            "dev": self.partedDevice})
     return s
 def __str__(self):
     s = Format.__str__(self)
     s += ("  mdUUID = %(mdUUID)s  biosraid = %(biosraid)s" %
           {"mdUUID": self.mdUuid, "biosraid": self.biosraid})
     return s
 def __str__(self):
     s = Format.__str__(self)
     s += ("  raidmem = %(raidmem)r" % {"raidmem": self.raidmem})
     return s
Exemple #11
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  raidmem = %(raidmem)r" % {"raidmem": self.raidmem})
     return s
Exemple #12
0
 def __str__(self):
     s = Format.__str__(self)
     s += ("  priority = %(priority)s  label = %(label)s" %
           {"priority": self.priority, "label": self.label})
     return s