Parameters for creating /dev/hdc*?

Parameters for creating /dev/hdc*?

Post by Ryan Hu » Fri, 07 Jul 1995 04:00:00



Does anybody know the appropriate major and minor numbers for creating
the /dev/hdc* devices for a third EIDE hard disk?  Working on the
assumption that the major number would continue on the pattern of being
3, like hda* and hdb*, and on the assumption that each hard disk's minor
numbers differed by 64 (i.e. hda is 0, hdb is 64, hda1 is 1, hdb1 is 65),
I did some mknod's assigning hdc to major 3 and minor 128, with the
partitions likewise.  Is this correct?

                                                        Ryan.

--


_/--you can't live without it!_/  \__/  \__/  \__/  \__/  \__/  \__/  \__/
 \__/  \__/  \__/  \__/  \__/  \__/  \_My words Copyright (C) 1995 \__/  \__

 
 
 

Parameters for creating /dev/hdc*?

Post by Mark Anthony Dugu » Sun, 09 Jul 1995 04:00:00


: Does anybody know the appropriate major and minor numbers for creating
: the /dev/hdc* devices for a third EIDE hard disk?  Working on the
: assumption that the major number would continue on the pattern of being
: 3, like hda* and hdb*, and on the assumption that each hard disk's minor
: numbers differed by 64 (i.e. hda is 0, hdb is 64, hda1 is 1, hdb1 is 65),
: I did some mknod's assigning hdc to major 3 and minor 128, with the
: partitions likewise.  Is this correct?

my system has 2 ide controllers, and i have hdc set up like this:

22,0 for hdc
22,1 for hdc1
22,2 for hdc2
22,3 for hdc3

etc.

Mark Duguid      Certified Linux Geek        Saskatoon, Saskatchewan, Canada

"To turn any 486/586 into a 8088,..just add Dos and let freeze over Windows.
"MS-Windows and Win95 are the only viruses with a GUI." nuf bashin for today

 
 
 

1. how can I create /dev/hdc etc?

I'm running 1.1.59 with two ide drives and I need to add another ide drive.
The controller card will deal with four disks.  /dev/hda and dev/hdb exist,
but not /dev/hdc  or d.

I remember something about mknod somewhere, but have forgot where and forgot
the details.  I presume I need to use mknod with the right major and minor
numbers, but .... what are these numbers ?  Also, can i just create
/dev/hdc or do i need to create all the other /dev/hdns as well ?

My understanding of what goes on here is limited so please spell it out.

Also, I'm having some trouble with my newsgroup access, so I'm sending this
from an account that I don't use much (because the phone costs too much here).

Thanks

Andy

2. vm86() - can someone point me in the right direction?

3. Help Moving physical drive from /dev/hdc to /dev/hda

4. NFS disk server info anyone?

5. Changing From /dev/hdc to /dev/hda -- Advice Sought

6. Linux LILO????

7. MFM drives as /dev/hdc /dev/hdd (Need pointers, please)

8. cron mailings

9. ln -sf /dev/modem /dev/hdc [Screwed up]

10. Moving Linux from /dev/hdc to /dev/hdb - possible?

11. ln -sf /dev/modem /dev/hdc [Screwed up]

12. need to change /dev/hdc to /dev/hde

13. need to change /dev/hdc to /dev/hde for LILO