<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000099">
<tt>Hi All,<br>
<br>
When run command scsi_id on my RedHat4.6 Linux box, I got some messages
with "no match".<br>
<br>
In /etc/scsi_id.config, there is a line<br>
</tt><tt><big><b>options=-b</b></big></tt><br>
<tt><br>
There is a valid line in configure file,  I can not understand why
there is a "no match" message<br>
when treat this line? <b>Is this a bug</b>?<br>
<br>
more detail outputs and the whole scsi_id.config have been listed as
below.<br>
<br>
-------------<br>
[root@wjiang-RHEL4-32-1 ~]# scsi_id -v -s /block/sda<br>
set_options: option 's' arg '/block/sda'<br>
scsi_id: target_path /sys/block/sda<br>
scsi_id: class_dev 0x0x9a044a8; class_dev_parent 0x(nil)<br>
create_tmp_dev: (/sys/block/sda)<br>
sysfs_get_attr: /sys/block/sda/dev<br>
get_major_minor: dev value 8:0<br>
create_tmp_dev: tmpdev '/dev/tmp-scsi-maj8-min0-20880'<br>
sysfs_get_attr: /sys/devices/platform/host0/target0:0:0/0:0:0:0/vendor<br>
sysfs_get_attr: /sys/devices/platform/host0/target0:0:0/0:0:0:0/model<br>
get_file_options: vendor='DGC<br>
'; model='RAID 5<br>
'<br>
get_file_options: config file line 28: vendor '(null)'; model '(null)';
options '-b'<br>
<big><b>get_file_options: no match</b></big><br>
get_file_options: config file line 33: vendor 'someone'; model
'nicedrive'; options '-g'<br>
<big><b>get_file_options: no match</b></big><br>
scsi_id: per dev options: good 0; page code 0x0; callout ''<br>
scsi_id: buffer unaligned 0x0x9a047f8; aligned 0x0x9a04800<br>
<br>
[root@wjiang-RHEL4-32-1 ~]# cat /etc/scsi_id.config <br>
...<br>
# If you normally don't need scsi id's, or might be attaching devices of<br>
# an unknown functionality, black list everyone. This is the default<br>
# behaviour (if no -b or -g is specified).<br>
#<br>
<big><b>options=-b</b></big><br>
<br>
#<br>
# Then white list devices on your system that have correct and useful
id's:<br>
#<br>
<big><b>vendor=someone, model=nicedrive, options=-g</b></big><br>
...<br>
<br>
<br>
Thanks,<br>
--Wei<br>
<br>
<br>
</tt>
</body>
</html>