From: Kay Sievers Date: Tue, 28 Nov 2006 16:33:28 +0000 Subject: Re: [Patch] udev: new dasd_id tool Message-Id: <1164731608.3613.92.camel@pim.off.vrfy.org> List-Id: References: <20061127141551.406c28a1.sameske@de.ibm.com> In-Reply-To: <20061127141551.406c28a1.sameske@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Tue, 2006-11-28 at 17:22 +0100, Volker Sameske wrote: > > The current multipath already uses the current dasd_id in /lib/udev? >=20 > Yes, the current mp-tools package calls the symlink /sbin/dasd_id >=20 > > Well, we usually don't care about backwards compat in that direction. A > > udev version can simply require a minimal kernel version, and this > > should be fine. > >=20 > > But how do we handle people already using the current persistent links? > > Your new tool creates different names for the same devices on recent > > kernels, right? >=20 > Yes. If the new uid is available in a distribution dasd_id returns: >=20 > ID_BUS=CCw > ID_TYPE=3Ddisk > ID_SERIAL=3DIBM.75000000092461.4d00.34 >=20 > if not, you'll get: >=20 > ID_BUS=CCw > ID_TYPE=3Ddisk > ID_SERIAL=3D0X4D34 So, how do we handle possible users who use the old name? Always create both links? Warn on update? > > Right, that's always good to avoid. > So you can see my problem :) Yes and no, it would be fine in its own package too, I think. But let's solve the real problems first ... Thanks, Kay ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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