From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mangus Date: Wed, 23 Nov 2005 18:44:19 +0000 Subject: Re: rules and RUN key Message-Id: <200511231944.24482.ml@deprecated.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart3543447.1f2omdQHDc" List-Id: References: <200511230001.45163.ml@deprecated.it> In-Reply-To: <200511230001.45163.ml@deprecated.it> To: linux-hotplug@vger.kernel.org --nextPart3543447.1f2omdQHDc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Alle 00:18, mercoled=EC 23 novembre 2005, Kay Sievers ha scritto: > On Wed, Nov 23, 2005 at 12:01:29AM +0100, Mangus wrote: > > Hi all, I'm trying to study the RUN key of udev rules, but I really don= 't > > understand why this rule doesn't work.. > > > > BUS=3D=3D"usb", SYSFS{product}=3D"Sony DSC", KERNEL=3D"sda1", ACTION=3D= =3D"add", > > SYMLINK+=3D"digitalcamera", RUN=3D"/opt/kde/bin/digikam" > > You don't want to run root level programs from udev to show up in your > desktop session. This also can't work, cause digikam has no X display. > yeah, that's right, my fault , thanks > Usually a process in your user session subscribes to device events from > HAL and starts applications as the logged-in user. > > Kay ok, but the RUN key is intended to run external script as root, isn't it? like modprobe commands or whethever so why this rule don't execute the command? BUS=3D=3D"usb", SYSFS{product}=3D=3D"Sony DSC", KERNEL=3D=3D"sda1", ACTION= =3D=3D"add",=20 SYMLINK+=3D"digitalcamera", RUN+=3D"/sbin/modprobe fuse" fuse module for example is not loaded is my version of udev too old? it's udev64=20 thanks =2D-=20 =46ede Be cool - get Slack. =2D- --nextPart3543447.1f2omdQHDc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQBDhLiI99yrWvFA8FMRAoHkAJwOefgli7JOGpxxqfkEKnSkDZI19gCdGceW IHjH1cN6uutkkidURZCULhc= =c+cO -----END PGP SIGNATURE----- --nextPart3543447.1f2omdQHDc-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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