[Git-commits] [grml/grml-hwinfo] e98e5c: Iterate over present disks to collect "sfdisk -d" ...

Michael Prokop noreply at github.com
Mon Feb 14 17:37:46 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-hwinfo
  Commit: e98e5ca4bf23daac1298f2520fd386c737b6997c
      https://github.com/grml/grml-hwinfo/commit/e98e5ca4bf23daac1298f2520fd386c737b6997c
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M grml-hwinfo

  Log Message:
  -----------
  Iterate over present disks to collect "sfdisk -d" information

AFAICT, up and until Debian/jessie the sfdisk executable could be
invoked without the need to specify any specific device name on the
command line. In "newer" versions of sfdisk this is no longer supported,
so we need to iterate over the list of present disk devices.

With this change, the sfdisk_... files can also be used standalone,
which is useful e.g. for restoring a partition table.

Development time sponsored by Sipwise GmbH




More information about the Git-commits mailing list