def get_service_config(self): fstab = Fstab() fstab.read(self.__FSTAB) configurations = [] for l in fstab.get_rozofs_lines(): o = l.get_rozofs_options() configurations.append(RozofsMountConfig(o["host"], o["path"], o["instance"], o["mountpoint"])) return configurations
def _list_mountpoint(self): fstab = Fstab() fstab.read(self.__FSTAB) return [l.directory for l in fstab.get_rozofs_lines()]