From: Patrick Mansfield Date: Fri, 18 Feb 2005 19:13:01 +0000 Subject: Re: udev: remove node only if major/minor matches Message-Id: <20050218191301.GA22910@us.ibm.com> List-Id: References: <20050217031313.GA7282@vrfy.org> In-Reply-To: <20050217031313.GA7282@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Feb 17, 2005 at 04:13:13AM +0100, Kay Sievers wrote: > Hi Hannes, > here we remove the device node only if the major/minor number matches > the one in our database. Will this solve the possible issue with the multipath > setup, where a device remove event may delete a node which belongs to a > different path? If device nodes are being overwritten, how does not removing an overwritten /dev help? Don't the multipath tools already require a separate sd /dev for proper usage (i.e. path checker)? It would be much better to never overwrite a correct /dev entry. Paths (i.e. sd's) should really be named based on their sysfs or physical path, or just the default name; the dm device should be named based on disk or device specific attributes (scsi_id, volume_id, etc.). There is no good way to know if dm is going to use an sd in a dm multipath. If "%e" would always work, that might help. -- Patrick Mansfield ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ 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