From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4dd77b2bc06fb3bd X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: Adding a new disk and SCSI controller Date: 1999/07/27 Message-ID: <933086402.18237.0.nnrp-12.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 505794480 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <379D5F42.2781@dnr.qld.gov.au> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 933086402 nnrp-12:18237 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.osf1 Keith Moodie wrote in message <379D5F42.2781@dnr.qld.gov.au>... >Hi, Hi, > >My problem is how do I find out what /dev/rz... to MAKEDEV > > >Devices on the 1st SCSI controller as shown by scu are > >scu> scan edt >Scanning all available buses, please be patient... >show scu> edt > >CAM Equipment Device Table (EDT) Information: > > Device: CD-ROM XM-6102B Bus: 0, Target: 0, Lun: 0, Type: Read-Only >Direct Access > Device: RZ1CC-BA Bus: 2, Target: 0, Lun: 0, Type: Direct Access The calculation for X in MAKEDEV rzX is Bus * 8 + Target eg. the atapi cd-rom drive is on bus 0 target 0 Therefore to make special device file for cd= rz(0*8+0) = rz0 therefore in /dev , ./MAKEDEV rz0 Second eg. Hard Drive type RZ1CC-BA = rz(2*8+0) = rz16 Hope this helps Adam