From: Bob Barry <bobb@absamail.co.za>
To: linux-hotplug@vger.kernel.org
Subject: /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: No such file or directory
Date: Thu, 05 Feb 2004 20:29:41 +0000 [thread overview]
Message-ID: <200402052229.41342.bobb@absamail.co.za> (raw)
In-Reply-To: <1075922647.29575.8.camel@moen.bioinf.mdc-berlin.de>
On Wed, 04 Feb 2004 20:24, Juergen Rose wrote:
> during the initilization of udev (/etc/init.d/udev start) I get a lot
> messages like "/bin/cat: /proc/ide/hda1/media: No such file or
> directory".
I see the same thing, and I've been watching for an answer.
I use the rule for cdrom from the tarball /etc/udev/udev.rules:
BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
Links exist in /proc/ide to hda, hdc and hdd. After startup, the cat works:
> /bin/cat /proc/ide/hd[acd]/media
disk
cdrom
cdrom
Is /proc/ide being used before it is built?
TIA,
Bob
-------------------------------------------------------
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 prev parent reply other threads:[~2004-02-05 20:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 19:24 /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: No Juergen Rose
2004-02-05 17:23 ` /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: No such file or directory Greg KH
2004-02-05 20:29 ` Bob Barry [this message]
2004-02-06 14:51 ` /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: Juergen Rose
2004-02-06 19:23 ` Frédéric L. W. Meunier
2004-02-06 19:40 ` /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: No such file or directory Kay Sievers
2004-02-06 19:54 ` /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: Frédéric L. W. Meunier
2004-02-06 20:10 ` /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: No such file or directory Greg KH
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=200402052229.41342.bobb@absamail.co.za \
--to=bobb@absamail.co.za \
--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).