/*
- * udevtest.c
- *
* Copyright (C) 2003-2004 Greg Kroah-Hartman <greg@kroah.com>
* Copyright (C) 2004-2006 Kay Sievers <kay.sievers@vrfy.org>
*
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
setenv("SUBSYSTEM", udev->dev->subsystem, 1);
setenv("ACTION", "add", 1);
+ printf("This program is for debugging only, it does not create any node,\n"
+ "or run any program specified by a RUN key. It may show incorrect results,\n"
+ "if rules match against subsystem specfic kernel event variables.\n"
+ "\n");
+
info("looking at device '%s' from subsystem '%s'", udev->dev->devpath, udev->dev->subsystem);
retval = udev_device_event(&rules, udev);
if (retval == 0 && !udev->ignore_device && udev_run) {