From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 20 Nov 2003 16:54:43 +0000 Subject: Re: really persistent SCSI device naming Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Nov 13, 2003 at 10:27:17PM -0500, Martin Hicks wrote: > > Hello, > > I have a need for very persistent SCSI device naming. As I understand > the current SCSI device naming we have this: > > Host:Channel:Target:Lun > > If a new SCSI host is inserted into the machine, things move. The > implementation that I'm trying to imitate with udev uses the above four > bits of info plus information regarding the position of the SCSI HBA > that the device is plugged into. > > What is the best way to do this with udev? Is there anything unique about your devices you can rely on? scsi serial number? vendor? device type? label id on the filesystem? If you can find something, then use that in a udev rule. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel