def _checkmount(self): mount_path = self.path if self.handles("cifs"): mount_path = self.mountpoint return util.ioretry(lambda: util.pathexists(mount_path) and \ (util.ismount(mount_path) or \ util.pathexists(self.remotepath) and self._isbind()))
def _checkmount(self): return util.ioretry(lambda: util.pathexists(self.path)) \ and util.ioretry(lambda: util.ismount(self.path))
def checkmount(self): return util.ioretry(lambda: ((util.pathexists(self.mountpoint) and \ util.ismount(self.mountpoint)) and \ util.pathexists(self.linkpath)))
def _checkmount(self): return util.ioretry(lambda: util.pathexists(self.path) and \ (util.ismount(self.path) or \ util.pathexists(self.remotepath) and self._isbind()))
def _checkmount(self): return util.pathexists(self.path) \ and util.ismount(self.path)