Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 17 Jun 2002 18:08:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 17 Jun 2002 18:08:23 -0400 Received: from nat-pool-rdu.redhat.com ([66.187.233.200]:46823 "EHLO lacrosse.corp.redhat.com") by vger.kernel.org with ESMTP id ; Mon, 17 Jun 2002 18:08:22 -0400 Date: Mon, 17 Jun 2002 18:08:18 -0400 From: Doug Ledford To: Kurt Garloff , Linux kernel list , Linux SCSI list Subject: Re: /proc/scsi/map Message-ID: <20020617180818.C30391@redhat.com> Mail-Followup-To: Kurt Garloff , Linux kernel list , Linux SCSI list References: <20020615133606.GC11016@gum01m.etpnet.phys.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020615133606.GC11016@gum01m.etpnet.phys.tue.nl>; from garloff@suse.de on Sat, Jun 15, 2002 at 03:36:06PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1278 Lines: 30 On Sat, Jun 15, 2002 at 03:36:06PM +0200, Kurt Garloff wrote: > Hi SCSI users, > > from people using SCSI devices, there's one question that turns up again > and again: How can one assign stable device names to SCSI devices in > case there are devices that may or may not be switched on or connected. > Life would be easier if the scsi subsystem would just report which SCSI > device (uniquely identified by the controller,bus,target,unit tuple) belongs > to which high-level device. The information is available in the kernel. Umm, this patently fails to meet the criteria you posted of "stable device name". Adding a controller to a system is just as likely to blow this naming scheme to hell as it is to blow the traditional linux /dev/sd? scheme. IOW, even though the /proc/scsi/map file looks nice and usefull, it fails to solve the very problem you are trying to solve. -- Doug Ledford 919-754-3700 x44233 Red Hat, Inc. 1801 Varsity Dr. Raleigh, NC 27606 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/