From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nuno Silva Date: Fri, 16 Jan 2004 03:45:10 +0000 Subject: Re: [ANNOUNCE] udev 013 release Message-Id: <40075E46.7050302@vgertech.com> List-Id: References: <20040113235213.GA7659@kroah.com> In-Reply-To: <20040113235213.GA7659@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi! Kay Sievers wrote: >> >>+ info("New device! Metrics: BUS='%s', ID='%s', KERNEL='%s'", >>+ sysfs_device->bus, sysfs_device->bus_id, class_dev->name); > > > Huh, what if sysfs_device = NULL ? This is only to show what I'd like to see. That combined with the 15 mins that I looked at it and my lack of understandaing about sysfslib/udev can be dangerous :-) But, (bad) implementations apart, don't you think it's a good ideia to report information in this format? > And why print it, if we apply a configured rule to a known device? > I don't have rules for any of those devices. They were caught by the catch-all rule. Regards, Nuno Silva ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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