From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Harjes Date: Fri, 03 Dec 2010 19:19:54 +0000 Subject: udev_device_get_sysattr_value upon device remove Message-Id: <201012031319.54921.stefan.harjes@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi folks, when I get an udev_device from the udev_monitor, because the device has been unplugged, the 'udev_device_get_sysattr_value()' call returns 'null' (in my case I was looking for the "serial" of an usb_device). From my understanding this value should still be cached, even if the device is already removed? Is there any other way to get this value? Best Stefan