Eduardo has posted comments on this change.
Change subject: Distinguish between local and mounted SD's.
......................................................................
Patch Set 4:
Repeating answer from comment 1:
os.path.ismount(path) returns True only if path is the mount point and False
for child dirs.
Is better to avoid trimming the path.
e.g.
>>>
os.path.ismount("/rhev/data-center/mnt/dog:_volumes_dog_Df__New__Export__0__nfs__71122241851338")
True
>>> os.path.ismount("/rhev/data-center/mnt/dog:_volumes_dog_Df__New__Export__0__nfs__71122241851338/72ec1321-a114-451f-bee1-6790cbca1bc6")
False
--
To view, visit http://gerrit.ovirt.org/10024
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I12b5ba80121b8e8d23a63ecc7aaab829bfc67a51
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Paikov <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Haim Ateya <[email protected]>
Gerrit-Reviewer: Shu Ming <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches