From: Harald Hoyer Date: Thu, 30 Jul 2009 14:14:09 +0000 (+0200) Subject: iscsiroot: fixed udev rules for iscsi_firmware X-Git-Tag: 0.8~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb57587b428dca1ab73ea66103627aaabc19e4ac;p=thirdparty%2Fdracut.git iscsiroot: fixed udev rules for iscsi_firmware --- diff --git a/modules.d/95iscsi/iscsiroot b/modules.d/95iscsi/iscsiroot index 436b67c77..a9ad14ac3 100755 --- a/modules.d/95iscsi/iscsiroot +++ b/modules.d/95iscsi/iscsiroot @@ -42,7 +42,7 @@ modprobe crc32c if getarg iscsi_firmware ; then if [ -n "${root%%block:*}" ]; then # if root is not specified try to mount the whole iSCSI LUN - printf 'ENV{DEVTYPE}!="partition", SYMLINK=="disk/by-path/*-iscsi-*-%s", SYMLINK+="root"\n' $iscsi_lun >> /etc/udev/rules.d/99-iscsi-root.rules + printf 'ENV{DEVTYPE}!="partition", SYMLINK=="disk/by-path/*-iscsi-*-*", SYMLINK+="root"\n' >> /etc/udev/rules.d/99-iscsi-root.rules fi iscsistart -b exit 0