diff --git a/src/lib/y2storage/mountable.rb b/src/lib/y2storage/mountable.rb index 8cf5969741..7531950d86 100644 --- a/src/lib/y2storage/mountable.rb +++ b/src/lib/y2storage/mountable.rb @@ -93,6 +93,8 @@ def mountpoint=(path) # @return [Boolean] true if the mount point is saved to /etc/fstab # (and will be mounted at boot again), false otherwise def persistent? + # TODO: this implementation needs to be adapted after adding the Y2Storage + # wrapper for Storage::MountPoint to_storage_value.has_mount_point && to_storage_value.mount_point.in_etc_fstab? end