From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Barry Date: Thu, 05 Feb 2004 20:29:41 +0000 Subject: /sbin/udev block and /bin/cat: /proc/ide/hd[a-h][1-10]/media: No such file or directory Message-Id: <200402052229.41342.bobb@absamail.co.za> List-Id: References: <1075922647.29575.8.camel@moen.bioinf.mdc-berlin.de> In-Reply-To: <1075922647.29575.8.camel@moen.bioinf.mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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