From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 21 Dec 2004 15:11:31 +0000 Subject: Re: feature request (if possible): symlink name in environment Message-Id: <1103641892.5845.12.camel@localhost.localdomain> List-Id: References: <20041221150258.GB14897@cirrus.madduck.net> In-Reply-To: <20041221150258.GB14897@cirrus.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2004-12-21 at 16:02 +0100, martin f krafft wrote: > I am not sure this is possible, but if it is... > > Would you consider making the name of any symlinks to be added to > a device available in the environment (e.g. a :-separated list in > $SYMLINKS), when the /dev/dev.d hooks are called? > > This would allow me to write a hook for permissions.d, making it > optional and still supporting all it should be able to do. Use udevinfo in the dev.d/ script and ask with the DEVPATH for the symlinks: [kay@pim ~]$ udevinfo -r -q symlink -p /class/video4linux/video0 /dev/camera0 /dev/kamera0 /dev/videocam0 /dev/webcam0 Kay ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ 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