From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Wed, 02 Nov 2005 15:30:18 +0000 Subject: Re: udev user specified or human readable /dev names Message-Id: <20051102153018.GA30686@us.ibm.com> List-Id: References: <20051101225357.GA13215@us.ibm.com> <20051102000531.GB17207@vrfy.org> <20051102003531.GA15854@us.ibm.com> <20051102010615.GA18684@vrfy.org> <20051102020156.GA17330@us.ibm.com> <20051102025345.GA19174@vrfy.org> In-Reply-To: <20051102025345.GA19174@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Kay Sievers Cc: linux-hotplug-devel@lists.sourceforge.net, dm-devel@redhat.com On Wed, Nov 02, 2005 at 03:53:45AM +0100, Kay Sievers wrote: > Sure, that may be easier. > But such a tool is only useful if the devices are already present on the > system, right? Then you can read all current available ID_* variables from > the udev database and compose a nice rule from it. :) Yes looks like that can work (again I *was* thinking symlinks, and not env variables) . > > And is there a way to rename or add /dev entries without removing and > > adding back a device? >=20 > You can run udevstart again, if its not configured to do some weird > stuff. That is rather slow, and didn't removing links (like a rename would want). > The current devel kernel has a "uevent" file, which triggers the > hotplug event again, this could be used to create additional configured > links. >=20 > Also: > ACTION=ADd DEVPATH=3D/block/sdm /sbin/udev block > would do it. Those don't remove links either. > Or do you mean adding a link temporarily, so that it get tracked and > removed when the device goes away? No. Thanks, -- Patrick Mansfield ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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