From 0f6870176b5d82694f01a70f41814c909302155b Mon Sep 17 00:00:00 2001 From: fake Date: Thu, 2 Feb 2006 12:42:29 +0000 Subject: [PATCH] fake: fix udev scsi script. this fixes almost all udev-related bugs for me by reverting behaviour back to the way it used to be. maybe it's not 1337, but it works. [2006010419093916663] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7015 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/udev/scsi_dev_discs.patch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package/base/udev/scsi_dev_discs.patch b/package/base/udev/scsi_dev_discs.patch index 30f8b9254..3123569e9 100644 --- a/package/base/udev/scsi_dev_discs.patch +++ b/package/base/udev/scsi_dev_discs.patch @@ -17,10 +17,9 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- -diff -pruN udev-068-orig/extras/scsi-devfs.sh udev-068/extras/scsi-devfs.sh ---- udev-068-orig/extras/scsi-devfs.sh 2005-10-11 17:33:26.000000000 +0200 -+++ udev-068/extras/scsi-devfs.sh 2005-10-12 10:17:44.000000000 +0200 -@@ -83,6 +83,16 @@ l_pci="domain$pci_domain/bus$pci_bus/slo +--- ./extras/scsi-devfs.sh.orig 2006-01-04 17:02:54.370422160 +0100 ++++ ./extras/scsi-devfs.sh 2006-01-04 17:04:39.350462768 +0100 +@@ -83,6 +83,16 @@ l_phy="bus/pci/$l_pci/scsi/$l_com" s_phy="$1/pci/$pci_addr/$s_com" @@ -37,4 +36,4 @@ diff -pruN udev-068-orig/extras/scsi-devfs.sh udev-068/extras/scsi-devfs.sh + x="`ls /dev/discs/ | grep -c .`" +fi -+echo $l_phy $s_phy $l_log $s_log discs/disc${x}/${lpart} ++echo $l_log $s_log discs/disc${x}/${lpart}