[rear-devel] [rear/rear] 12932e: RAWDISK output: improve device partition detection...

Johannes Meixner noreply at github.com
Fri Mar 8 13:35:13 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 12932ea907196723cd6e7a0169ed099ebf484665
      https://github.com/rear/rear/commit/12932ea907196723cd6e7a0169ed099ebf484665
  Author: Oliver Okrongli <oliver.okrongli at infix.de>
  Date:   2019-03-06 (Wed, 06 Mar 2019)

  Changed paths:
    M usr/share/rear/output/RAWDISK/Linux-i386/280_create_bootable_disk_image.sh

  Log Message:
  -----------
  RAWDISK output: improve device partition detection (e.g. Ubuntu 18.04)


  Commit: bafc84f1f7dd8b6fb601d25a961a4077d3d37907
      https://github.com/rear/rear/commit/bafc84f1f7dd8b6fb601d25a961a4077d3d37907
  Author: Oliver Okrongli <oliver.okrongli at infix.de>
  Date:   2019-03-07 (Thu, 07 Mar 2019)

  Changed paths:
    M usr/share/rear/output/RAWDISK/Linux-i386/280_create_bootable_disk_image.sh

  Log Message:
  -----------
  RAWDISK output: add comment for device partition detection


  Commit: 63c1023f9ceb545244b129f3f6e02ba85c78856f
      https://github.com/rear/rear/commit/63c1023f9ceb545244b129f3f6e02ba85c78856f
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2019-03-08 (Fri, 08 Mar 2019)

  Changed paths:
    M usr/share/rear/output/RAWDISK/Linux-i386/280_create_bootable_disk_image.sh

  Log Message:
  -----------
  Merge pull request #2071 from OliverO2/RAWDISK_output_improve_device_partition_detection

RAWDISK output: improve device partition detection (e.g. Ubuntu 18.04).
On Ubuntu 18.04, it has been observed that after creating a loop device
and creating a properly sized VFAT file system >250 MB on it, after
mounting the file system size was actually just 30 MB. Reason: The
partition detection did not pick up the correct partition sizes of the
associated image file. This change uses losetup's --partscan option
(supported by util-linux v2.21 and above) to offer one additional
opportunity to detect partitions. If the option is not available, a
traditional losetup call will be used as a fallback.


Compare: https://github.com/rear/rear/compare/8c1bac1d72da...63c1023f9ceb


More information about the rear-devel mailing list