[Git-commits] [grml/grml2usb] 745f09: Catch parted returning None as the searched partit...

Evgeni Golov evgeni at grml.org
Mon Sep 28 18:18:08 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml2usb
  Commit: 745f09771c1a7cfd9607d3300a55ee8ddbd59fac
      https://github.com/grml/grml2usb/commit/745f09771c1a7cfd9607d3300a55ee8ddbd59fac
  Author: Evgeni Golov <evgeni at grml.org>
  Date:   2015-09-28 (Mon, 28 Sep 2015)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Catch parted returning None as the searched partition

Certain USB devices aren't handled correctly by
python-parted. As soon as the USB devices are
filled/rewritten with zeros (dd if=/dev/zero of=/dev/sdX)
they are recognized properly. The underlying issue
couldn't be identified yet, but since we know what
we get let's just fall back to the old boot device
detection and print an according warning message.

Thanks: to mika and Haudegen for debugging
Closes: #766964




More information about the Git-commits mailing list