From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Date: Tue, 21 Jul 2009 21:07:26 +0000 Subject: Re: [PATCH] Add fc_id, which gives ID_PORT_NAME and ID_LUN on appropriate Message-Id: <4A662E0E.7000100@redhat.com> List-Id: References: <1248203904-6561-1-git-send-email-pjones@redhat.com> In-Reply-To: <1248203904-6561-1-git-send-email-pjones@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 07/21/2009 04:29 PM, David Zeuthen wrote: > On Tue, 2009-07-21 at 15:18 -0400, Peter Jones wrote: >> + hba_id = udev_device_get_sysattr_value(scsi_dev, "hba_id"); >> + if (hba_id != NULL) >> + printf("ID_HDA=%s\n", hba_id); > > Did you mean ID_HBA instead of ID_HDA? I did. -- Peter Computers have already beaten communists at chess. The next thing you know, they'll be beating humans. -- Dale