def find_mounts(self):
        """Finds all mountpoints that are mounted to a directory matching :attr:`re_pattern` or originate from a
        directory matching :attr:`orig_re_pattern`.
        """

        for mountpoint, (orig, fs, opts) in self.mountpoints.items():
            if 'bind' not in opts and (re.match(self.orig_re_pattern, orig) or
                                       (self.be_greedy and re.match(self.re_pattern, mountpoint))):
                yield mountpoint
Finds all mountpoints that are mounted to a directory matching :attr:`re_pattern` or originate from a
        directory matching :attr:`orig_re_pattern`.