public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Eugeny S. Mints" <emints@ru.mvista.com>
To: Christian Kujau <evil@g-house.de>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	baptiste coudurier <baptiste.coudurier@free.fr>
Subject: Re: MORE THAN 10 IDE CONTROLLERS
Date: Tue, 25 May 2004 17:37:57 +0400	[thread overview]
Message-ID: <40B34C35.3090303@ru.mvista.com> (raw)
In-Reply-To: <40B34946.9030500@g-house.de>

Christian Kujau wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> baptiste coudurier schrieb:
> | Does anyone know what are major/minors for hdu, hdv, hdw, hdx ?
> 
> not being a professional, i see:
> 
> evil@sheep:~$ la /dev/hd?
> brw-rw----    1 root     disk       3,   0 2004-03-10 11:33 /dev/hda
> brw-rw----    1 root     disk       3,  64 2004-03-10 11:33 /dev/hdb
> brw-rw----    1 root     disk      22,   0 2004-03-10 11:33 /dev/hdc
> brw-rw----    1 root     disk      22,  64 2004-03-10 11:33 /dev/hdd
> brw-rw----    1 root     disk      33,   0 2004-03-10 11:40 /dev/hde
> brw-rw----    1 root     disk      33,  64 2004-03-10 11:40 /dev/hdf
> brw-rw----    1 root     disk      34,   0 2004-03-10 11:40 /dev/hdg
> brw-rw----    1 root     disk      34,  64 2004-03-10 11:40 /dev/hdh
> 
> so, it's a major number for every controller (e.g. "22" for hdc+hdd each
> belonging to one controller). hdi+hdj would be major 35, minor [0|64] ?
> i'd try this out for hdx and further...

afaik even the 2.6.x kernel defines only 10 major numbers for IDE 
devices (from 0 upto 9). All are predefined - see include/linux/major.h

> 
> did you try devfs/udev? perhaps it could solve this by itsself....?
> 
> Christian.
> 
> PS: maybe Documentation/devices.txt helps out too.
> 
> - --
> BOFH excuse #75:
> 
> There isn't any problem
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFAs0lG+A7rjkF8z0wRAmp5AJ985JGLXpxX5rSJnQM0GJNq0LkcIQCfT4hH
> kj4lr37B1urPVTAMiLbMXlE=
> =fohg
> -----END PGP SIGNATURE-----
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 
> 



  reply	other threads:[~2004-05-25 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-24 18:22 MORE THAN 10 IDE CONTROLLERS baptiste coudurier
2004-05-25 13:25 ` Christian Kujau
2004-05-25 13:37   ` Eugeny S. Mints [this message]
2004-05-25 13:50     ` baptiste coudurier

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=40B34C35.3090303@ru.mvista.com \
    --to=emints@ru.mvista.com \
    --cc=baptiste.coudurier@free.fr \
    --cc=evil@g-house.de \
    --cc=linux-kernel@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