[rear-devel] [rear/rear] 667771: Make both btrfs_subvolumes_setup implementations a...

Johannes Meixner noreply at github.com
Wed Mar 13 15:26:13 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 66777170de22cec15bc1001fca4671361731e8f0
      https://github.com/rear/rear/commit/66777170de22cec15bc1001fca4671361731e8f0
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_filesystem_code.sh
    M usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_subvolumes_code.sh
    M usr/share/rear/layout/prepare/GNU/Linux/131_include_new_btrfs_subvolumes_code.sh

  Log Message:
  -----------
  Make both btrfs_subvolumes_setup implementations available (follow up of issue_2079)


  Commit: 75837f739a74448ad2d25e82c3fadf17ee3d5eab
      https://github.com/rear/rear/commit/75837f739a74448ad2d25e82c3fadf17ee3d5eab
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_filesystem_code.sh

  Log Message:
  -----------
  Better ordering of the tests for BTRFS_SUBVOLUME_GENERIC_SETUP and BTRFS_SUBVOLUME_SLES_SETUP for improved precedence handling


  Commit: 4bd1d59bf731e6c9346b70d78479ceddb36056cc
      https://github.com/rear/rear/commit/4bd1d59bf731e6c9346b70d78479ceddb36056cc
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_filesystem_code.sh

  Log Message:
  -----------
  Using double quotes as in "${arr[@]}" to get all array elements separatedly


  Commit: 711c82e62b252d7c7b765173c98c7a4603639988
      https://github.com/rear/rear/commit/711c82e62b252d7c7b765173c98c7a4603639988
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_subvolumes_code.sh
    M usr/share/rear/layout/save/GNU/Linux/230_filesystem_layout.sh

  Log Message:
  -----------
  Adapted info_message about SLES12-SP1 (and later) btrfs subvolumes setup needed


  Commit: cd2bd2e60a6824b2244ef91abb34f8d239dcb500
      https://github.com/rear/rear/commit/cd2bd2e60a6824b2244ef91abb34f8d239dcb500
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
    R usr/share/rear/layout/prepare/GNU/Linux/130_include_filesystem_code.sh
    R usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_filesystem_code.sh
    R usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_subvolumes_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/131_include_filesystem_code.sh
    R usr/share/rear/layout/prepare/GNU/Linux/131_include_new_btrfs_subvolumes_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/133_include_mount_filesystem_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/135_include_btrfs_subvolumes_generic_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/136_include_btrfs_subvolumes_SLES_code.sh

  Log Message:
  -----------
  Do not call btrfs_subvolumes_setup_generic with mountopts (not used by callee). Better descriptive names of scripts and renumbered scripts (avoid same numbers which looks sloppy).


  Commit: c0b0ddd5657b0e981ee33274db0f4d40fd1a1674
      https://github.com/rear/rear/commit/c0b0ddd5657b0e981ee33274db0f4d40fd1a1674
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
    M usr/share/rear/layout/save/GNU/Linux/230_filesystem_layout.sh

  Log Message:
  -----------
  Automatically append devices to the BTRFS_SUBVOLUME_SLES_SETUP array when needed.


  Commit: f4a7d22f0dc07e518b750f445159320cac397952
      https://github.com/rear/rear/commit/f4a7d22f0dc07e518b750f445159320cac397952
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
    M usr/share/rear/layout/prepare/GNU/Linux/136_include_btrfs_subvolumes_SLES_code.sh
    M usr/share/rear/layout/save/GNU/Linux/230_filesystem_layout.sh

  Log Message:
  -----------
  Fixed automatic append devices to BTRFS_SUBVOLUME_SLES_SETUP when needed.


  Commit: b144e9082511442b6f2426c9006e66d6c611edf9
      https://github.com/rear/rear/commit/b144e9082511442b6f2426c9006e66d6c611edf9
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2019-03-13 (Wed, 13 Mar 2019)

  Changed paths:
    R usr/share/rear/layout/prepare/GNU/Linux/130_include_filesystem_code.sh
    R usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_filesystem_code.sh
    R usr/share/rear/layout/prepare/GNU/Linux/130_include_mount_subvolumes_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/131_include_filesystem_code.sh
    R usr/share/rear/layout/prepare/GNU/Linux/131_include_new_btrfs_subvolumes_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/133_include_mount_filesystem_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/135_include_btrfs_subvolumes_generic_code.sh
    A usr/share/rear/layout/prepare/GNU/Linux/136_include_btrfs_subvolumes_SLES_code.sh
    M usr/share/rear/layout/save/GNU/Linux/230_filesystem_layout.sh

  Log Message:
  -----------
  Merge pull request #2080 from jsmeix/make_both_btrfs_subvolumes_setup_implementations_available_follow_up_of_issue_2079

Make both btrfs_subvolumes_setup implementations available
and individually configurable which is used for which btrfs device
via the new config variables BTRFS_SUBVOLUME_SLES_SETUP
and BTRFS_SUBVOLUME_GENERIC_SETUP, see
layout/prepare/GNU/Linux/133_include_mount_filesystem_code.sh
how they currently work.
This is a follow up of https://github.com/rear/rear/pull/2079
Currently it is not documented because it is work in progress
where arbitrary further changes will happen so one has to inspect
the current code and its comments to see how things currently work.


Compare: https://github.com/rear/rear/compare/2eb4b4dc865d...b144e9082511


More information about the rear-devel mailing list