[Git-commits] [grml/grml2usb] 7c0195: Make sure we don't fail in device check when using...

Michael Prokop mika at grml.org
Thu Jan 5 14:55:48 CET 2012


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml2usb

  Commit: 7c0195d59551ba5df7010eb696d0b4612d7811f3
      https://github.com/grml/grml2usb/commit/7c0195d59551ba5df7010eb696d0b4612d7811f3
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-01-05 (Thu, 05 Jan 2012)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Make sure we don't fail in device check when using /dev/disk-by-label/*

Quoting Bernhard on IRC:

| i usually use ~by-label/<mysticksname> as device names, so that
| I don't mix up any /dev/sd?? devices and I just realized that
| when i do this (of course I can use ~bylabel/<mysticksname>(:A)
| in the future) grml2usb does neither recognize that my device is
| already mounted (not much of a problem with current kernel
| apparently), but the "superdisk" check which just looks for a
| digit in the last char of the device string, fails as well

Thanks: Bernhard Tittelbach for bugreport and patch




More information about the Git-commits mailing list