fixed drive name

Robert Freeman-Day presgas at gmail.com
Wed Jun 17 15:18:37 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ray and Allen,

I, for one, would like to thank you both for your friendly helpful
responses.  This was the assistance and guidance Wenle needed.

Ray Van Dolson wrote:
> 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
> 

- --
________

Robert Freeman-Day

https://launchpad.net/~presgas
GPG Public Key:
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xBA9DF9ED3E4C7D36
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko5CU0ACgkQup357T5MfTa8OwCfb7aJUvQb8aBxa5dfy9+Sm3ki
MLYAoLgoupNGZsMv0As7ilSBzt9kIF1g
=JMd+
-----END PGP SIGNATURE-----




More information about the redhat-list mailing list