From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: udevinfo reverse lookup for symlinks
Date: Mon, 09 Feb 2004 16:33:32 +0000 [thread overview]
Message-ID: <20040209163332.GA2836@suse.de> (raw)
How do I reverse lookup symlinks?
It seem that is not implemented.
nectarine:~ # udevinfo -n cdrom -q path
device not found in database
nectarine:~ # udevinfo -n sr0 -q path
/block/sr0
nectarine:~ # udevinfo -n cdrom -q symlink
device not found in database
nectarine:~ # udevinfo -n cdrom -q name
device not found in database
nectarine:~ # ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2004-02-09 17:27 /dev/cdrom -> sr0
P: /block/sr0
N: sr0
M: 0600
S: cdrom
O: root
G: root
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
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
next reply other threads:[~2004-02-09 16:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-09 16:33 Olaf Hering [this message]
2004-02-09 22:18 ` udevinfo reverse lookup for symlinks Kay Sievers
2004-02-29 19:42 ` Olaf Hering
2004-02-29 20:22 ` Kay Sievers
2004-02-29 20:52 ` Olaf Hering
2004-02-29 21:00 ` Kay Sievers
2004-02-29 21:08 ` Olaf Hering
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=20040209163332.GA2836@suse.de \
--to=olh@suse.de \
--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;
as well as URLs for NNTP newsgroup(s).