fixed drive name

Ray Van Dolson rvandolson at esri.com
Wed Jun 17 14:55:09 UTC 2009


On Wed, Jun 17, 2009 at 07:03:09AM -0700, Le Wen wrote:
> I think that's the right command. According to "man scsi_id"
> In RHEL4, we use
> BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="312345", NAME="disk%n"
> that works in RHEL4
> while in RHEL5, we use 
> BUS=="scsi", PROGRAM=="/sbin/scsi_id -d %N -s %p", RESULT=="312345", 
> NAME="disk%n"
> and that doesn't work in RHEL5, definitely I tried 
> BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="312345", NAME="disk%n"
> in RHEL5, no luck.
> 
> Wenle

Also, check out 'udevmonitor'.  Great program for tracking what's going
on with the udev rules.

Often used with the --env flag.

Ray




More information about the redhat-list mailing list