linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev 018: error with ide disk
@ 2004-02-20  9:19 Philippe Gramoullé
  2004-02-20 12:26 ` Kay Sievers
  2004-02-20 14:00 ` Philippe Gramoullé
  0 siblings, 2 replies; 3+ messages in thread
From: Philippe Gramoullé @ 2004-02-20  9:19 UTC (permalink / raw)
  To: linux-hotplug


 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]

hda2 is /
hda3 is the extendeded partition that encompass hda[567]
hda5 is /home
hda6 is /usr
hda7 is swap

On my SCSI only desktop (same Debian version), i don't have any problem with udev-0.18

Thanks,

Philippe



-------------------------------------------------------
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=click
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev 018: error with ide disk
  2004-02-20  9:19 udev 018: error with ide disk Philippe Gramoullé
@ 2004-02-20 12:26 ` Kay Sievers
  2004-02-20 14:00 ` Philippe Gramoullé
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2004-02-20 12:26 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev 018: error with ide disk
  2004-02-20  9:19 udev 018: error with ide disk Philippe Gramoullé
  2004-02-20 12:26 ` Kay Sievers
@ 2004-02-20 14:00 ` Philippe Gramoullé
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gramoullé @ 2004-02-20 14:00 UTC (permalink / raw)
  To: linux-hotplug


Hello Kay,

Thanks, it solves my problem :)

Truly yours,

Philippe

On Fri, 20 Feb 2004 13:26:43 +0100
Kay Sievers <kay@vrfy.org> wrote:

  | 
  | 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=click
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-20 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20  9:19 udev 018: error with ide disk Philippe Gramoullé
2004-02-20 12:26 ` Kay Sievers
2004-02-20 14:00 ` Philippe Gramoullé

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).