[node-patches] Change in ovirt-node[master]: utils_fs: add ismount isbindmount python implementation

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 ismount isbindmount python implementation
......................................................................


utils_fs: add ismount isbindmount python implementation

python's os.path.ismount does not properly work with bind mounts that
are withing the same device nor does it support file bind mounts.
This patch adds convenience methods that support these cases.

Change-Id: I92e3b9368f795bda587d5de1d61a3a0266038d8f
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M src/ovirt/node/utils/fs/mount.py
1 file changed, 40 insertions(+), 0 deletions(-)

Objections:
  Douglas Schilling Landgraf: I would prefer that you didn't submit this



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I92e3b9368f795bda587d5de1d61a3a0266038d8f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland 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