[rear-devel] [rear/rear] 66cef0: Update write-protect-functions.sh

Johannes Meixner noreply at github.com
Fri Nov 26 13:23:34 CET 2021

  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 66cef0c8efefd2c536bfebe1d86fde1958e87b4d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M usr/share/rear/lib/write-protect-functions.sh

  Log Message:
  Update write-protect-functions.sh

In the function is_write_protected_by_id()
assume a disk without any of UUID PTUUID PARTUUID WWN is empty
and meant to be used to recreate the system so it should not be write-protected
cf. https://github.com/rear/rear/pull/2703#discussion_r757393547

More information about the rear-devel mailing list