lkml.org 
[lkml]   [1999]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ide driver - question
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.041 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site