[node-patches] Change in ovirt-node[master]: Add utils.system.Bootloader

rbarry at redhat.com rbarry at redhat.com
Sat Oct 5 14:20:48 UTC 2013


Ryan Barry has posted comments on this change.

Change subject: Add utils.system.Bootloader
......................................................................


Patch Set 3:

(1 comment)

....................................................
File src/ovirt/node/utils/system.py
Line 93:     system
Line 94:     """
Line 95:     try:
Line 96:         process.call(["partprobe", "/dev/mapper/*"])
Line 97:         process.call(["udevadm", "settle"])
We ignore the return value of both because an exception will be thrown if it's nonzero.
Line 98:         if process.check_call(["/sbin/blkid", "-c", "/dev/null", "-l",
Line 99:                                "-o", "device", "-t", 'LABEL="%s"' % label
Line 100:                                ]) == 0:
Line 101:             return True


-- 
To view, visit http://gerrit.ovirt.org/19811
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5a796a4c07bd99b927070ec62a7b1d990d4e1f9b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes



More information about the node-patches mailing list