[node-patches] Change in ovirt-node[master]: utils_fs: Add mount/umount c bindings

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Jul 3 16:00:58 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: utils_fs: Add mount/umount c bindings
......................................................................


utils_fs: Add mount/umount c bindings

This commit adds ctypes bindings for the glibc mount and umount
methods so that we do not need to branch out to the cli for our
mounting and unmounting needs. It also raises the appropriate
OSError with code and message when it fails.

Change-Id: I48d2a14a37811c1f7c952c0485c4dd9ffb981d44
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M src/Makefile.am
A src/ovirt/node/utils/fs/mount.py
2 files changed, 87 insertions(+), 1 deletion(-)



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I48d2a14a37811c1f7c952c0485c4dd9ffb981d44
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list