Re: ide driver - question

Eric Dumas (edumas@tumbleweed.com)
Tue, 14 Sep 1999 11:39:24 -0700


According to Thomas Kniplitsch:
> i copied ide-disk and changed it so that it is able to talk to our
> interface, compiled it and installed it using insmod. using cat
> /proc/ide/drivers i can see that my subdriver is registered, at least that's
> what i think. but how can i talk to the disk connected to my interface now??
> I expected there would eb some /dev/ide nodes but there none. how can i
> create a node for my device without having a major number. i think all work
> will be done by ide.c but for that there should be some nodes, but on my
> system there are only the hd nodes no ide nodes.

If these are IDE disks, you can access it using the standard
/dev/hd*. Run basics commands (fdisk, mke2fs, etc.).

If you really need to create a new device, you have some
devices reserved for "local/experimental" use (240->254). Think to
match the driver with this experimental major number.

--
                        Éric Dumas (dumas@tumbleweed.com)
   Tumbleweed Communications, 700 Saginaw Drive, Redwood City, CA 94063, USA
               http://www.tumbleweed.com    Tel: +1 650-216-2030

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/