From: Michael Prokop Date: Thu, 5 Jan 2012 13:52:55 +0000 (+0100) Subject: Make sure we don't fail in device check when using /dev/disk-by-label/* X-Git-Tag: v0.11.4~1 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=7c0195d59551ba5df7010eb696d0b4612d7811f3;hp=7c0195d59551ba5df7010eb696d0b4612d7811f3;p=grml2usb.git Make sure we don't fail in device check when using /dev/disk-by-label/* Quoting Bernhard on IRC: | i usually use ~by-label/ 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/(: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 ---