'Parses the currently mounted devices.'

def CheckMounts(self, filename):

    with open(filename, 'rb') as fd:
        for line in fd:
            try:
                (device, mnt_point, fs_type, _) = line.split('    ', 3)
                if (fs_type in self.acceptable_filesystems):
                    try:
                        os.stat(device)
                        self.devices[device] = (fs_type, mnt_point)
                    except OSError:
                        pass
            except ValueError:
                pass
