Re: Adding /dev/hdXX nodes

2002-03-11 Thread Alexander Húska



see /usr/src/kernel*/Documentation/devices.txt


Dne 2002.03.11 03:57 napsal Christopher S. Swingley:

Jerome,

> > The kernel detects and identifies the geometry on the drives
> > (hda, c, e, g, i, k, m, o, q, s), but the device nodes in
> > /dev only go up to hdh.

> Hi Chris, I think you can make the devices you need with mknod.
> Another alternative is to mount devfs and use devfs naming conventions
> to access the drives.

Thanks.  I've used mknod before, but to use it here I'd need to know
what the major and minor numbers are supposed to be.  The numbering
scheme doesn't follow a pattern that is immediately obvious to me.
I wound up using devfs (as you suggested).  It worked really well,
but I'd still like to know if there's a Debian way to add more drive
devices.

Thanks,

Chris
--
Christopher S. Swingley   phone: 907-474-2689
Computer Systems Manager  email: [EMAIL PROTECTED]
IARC -- Frontier Program  GPG and PGP keys at my web page:
University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle





Re: Adding /dev/hdXX nodes

2002-03-10 Thread Christopher S. Swingley
Jerome,

> > The kernel detects and identifies the geometry on the drives 
> > (hda, c, e, g, i, k, m, o, q, s), but the device nodes in
> > /dev only go up to hdh.

> Hi Chris, I think you can make the devices you need with mknod.
> Another alternative is to mount devfs and use devfs naming conventions
> to access the drives.

Thanks.  I've used mknod before, but to use it here I'd need to know
what the major and minor numbers are supposed to be.  The numbering
scheme doesn't follow a pattern that is immediately obvious to me.
I wound up using devfs (as you suggested).  It worked really well,
but I'd still like to know if there's a Debian way to add more drive
devices.

Thanks,

Chris
-- 
Christopher S. Swingley   phone: 907-474-2689
Computer Systems Manager  email: [EMAIL PROTECTED]
IARC -- Frontier Program  GPG and PGP keys at my web page:
University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle


pgpOrQtiE9IX1.pgp
Description: PGP signature


Re: Adding /dev/hdXX nodes

2002-03-10 Thread Jerome Acks Jr
On Wed, Mar 06, 2002 at 12:00:19PM -0900, Christopher S. Swingley wrote:
> Hi!
> 
> I'm trying to set up a software RAID-5 machine with 9 IDE drives (1
> for the OS, 8 for a RAID-5 array) and a CD-ROM drive using Promise
> IDE controllers.  The kernel detects and identifies the geometry on
> the drives (hda, c, e, g, i, k, m, o, q, s), but the device nodes in
> /dev only go up to hdh.  I looked in the /dev/MAKEDEV script, but it's
> not clear to me what I'm supposed to do in order to get new devices,
> and it looks like even if I could figure out how to add more than 'h'
> drives, this script only goes up to 'l' anyway.
> 
> Any suggestions?
> 
Hi Chris, I think you can make the devices you need with mknod.
Another alternative is to mount devfs and use devfs naming conventions
to access the drives.

-- 
Jerome


pgpEV0ra85gGC.pgp
Description: PGP signature