Thanks -- very convenient

C

On Apr 4, 2006, at 11:27 AM, Alexandre Pereira Nunes wrote:


Attached, please apply, one line diff.

Thanks,

Alexandre


P.S..: It was taken at rev 920 but is applyable to 920 AFAIK...


Index: udev-load_ide_modules.sh
===================================================================
--- udev-load_ide_modules.sh (revisão 920)
+++ udev-load_ide_modules.sh (cópia de trabalho)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Load appropriate IDE driver based on media type
-device=${DEVPATH#/devices/ide?/}
+device=${DEVPATH#/devices/*/ide?/}
 drive=${device#?.}
 bus=${device%.?}
 name=$(printf "hd%x" $(($drive + $bus * 2 + 10)))