r2257 - / trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Wed Aug 23 00:53:13 PDT 2006


Author: jim
Date: 2006-08-23 01:53:12 -0600 (Wed, 23 Aug 2006)
New Revision: 2257

Added:
   trunk/udev/license
Modified:
   /
   trunk/udev/
   trunk/udev/50-udev.rules
Log:
 r5198 at server (orig r2388):  jim | 2006-08-22 23:04:09 -0700
  r5197 at server:  jim | 2006-08-22 22:48:43 -0700
  Updated udev rules for UDEV 098
 



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2386
   + b6734a72-470d-0410-b049-f317dca95413:/:2388


Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/udev:4357
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263
   + 38c7b366-470d-0410-a457-935707c16d9b:/udev:5197
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263

Modified: trunk/udev/50-udev.rules
===================================================================
--- trunk/udev/50-udev.rules	2006-08-23 07:51:22 UTC (rev 2256)
+++ trunk/udev/50-udev.rules	2006-08-23 07:53:12 UTC (rev 2257)
@@ -128,8 +128,8 @@
 # sd:		0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
 # sr:		4 TYPE_WORM, 5 TYPE_ROM
 # st/osst:	1 TYPE_TAPE
-ACTION=="add", 			SUBSYSTEM=="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys/$DEVPATH/timeout'"
-ACTION=="add", 			SUBSYSTEM=="scsi" , SYSFS{type}=="1", RUN+="/bin/sh -c 'echo 900 > /sys/$DEVPATH/timeout'"
+ACTION=="add", 			SUBSYSTEM=="scsi" , ATTR{type}=="0|7|14", ATTR{timeout}="60"
+ACTION=="add", 			SUBSYSTEM=="scsi" , ATTR{type}=="1", ATTR{timeout}="900"
 
 # device mapper
 KERNEL=="device-mapper", 	SYMLINK+="mapper/control"

Added: trunk/udev/license
===================================================================
--- trunk/udev/license	                        (rev 0)
+++ trunk/udev/license	2006-08-23 07:53:12 UTC (rev 2257)
@@ -0,0 +1,22 @@
+Copyright (c) 2006 Jim Gifford and Ryan Oliver
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+




More information about the cross-lfs mailing list