Linux Hotplug development
 help / color / mirror / Atom feed
From: Stefan Harjes <stefan.harjes@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: udev_device_get_sysattr_value upon device remove
Date: Fri, 03 Dec 2010 19:19:54 +0000	[thread overview]
Message-ID: <201012031319.54921.stefan.harjes@gmx.net> (raw)

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

             reply	other threads:[~2010-12-03 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 19:19 Stefan Harjes [this message]
2010-12-03 23:12 ` udev_device_get_sysattr_value upon device remove Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012031319.54921.stefan.harjes@gmx.net \
    --to=stefan.harjes@gmx.net \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox