在 Sat, 21 Jul 2012 06:31:54 +0800,James Bottomley
<James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> 写道:
On Fri, 2012-07-20 at 16:24 +0800, gaoqiang wrote:
I'm using udev to manage my hard disks. but I'm confusing
about the "PATH_ID"
gaoqiang@h150:~$/lib/udev/path_id /block/sda
ID_PATH=pci-0000:01:00.0-scsi-0:0:0:0
the path_id is about disk or about disk slot ?
Neither: it's pci function and scsi host:channel:target:lun
As far as I can tell, path_id returns are completely useless for
labelling disks (since host and sometimes target are scan order
dependent).
James
I know the host:channel:target:lun but not deeply. the "lun" is about a
disk, or a disk slot?
I mean,if I take the disk on a slot and plug in a new disk,will the
ID_PATH change,or not ?
many thanks.
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html