linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev 018: error with ide disk
Date: Fri, 20 Feb 2004 12:26:43 +0000	[thread overview]
Message-ID: <1077280003.1268.12.camel@pim> (raw)
In-Reply-To: <20040220101903.6fef0fd6@philou.gramoulle.local>

On Fri, 2004-02-20 at 10:19, Philippe Gramoullé wrote:
>  Hello,
> 
> I'm fairly new to udev, and here is what i got after compiling, installing, and starting udev 0.18
> on a Debian system (Inspiron 8000 laptop, ide disk, Debian Sid system)
> 
> udev script is udev-0.18/etc/init.d/udev.debian 
> 
> # /etc/init.d/udev start
> Creating initial udev device nodes:
> /bin/cat: /proc/ide/hda2/media: No such file or directory
> /bin/cat: /proc/ide/hda3/media: No such file or directory
> /bin/cat: /proc/ide/hda5/media: No such file or directory
> /bin/cat: /proc/ide/hda6/media/bin/cat: /proc/ide/hda1/media: No such file or directory
> : No such file or directory
> /bin/cat: /proc/ide/hda7/media: No such file or directory
> 
> in /proc/ide i only have hda directory but not hda[2356]

I thought we fixed that already.

You try to read 'media' on a partition,
simply ignore it or try the following:

  BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"

thanks,
Kay




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&opÌk
_______________________________________________
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

  reply	other threads:[~2004-02-20 12:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-20  9:19 udev 018: error with ide disk Philippe Gramoullé
2004-02-20 12:26 ` Kay Sievers [this message]
2004-02-20 14:00 ` Philippe Gramoullé

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=1077280003.1268.12.camel@pim \
    --to=kay@vrfy.org \
    --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).