The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: chd_1@nktelco.net (C. H. Dickman)
Subject: [pups] Major/minor device numbers and device names for MSCP drives?
Date: Mon, 19 Jun 2006 17:53:37 -0400	[thread overview]
Message-ID: <44971CE1.105@nktelco.net> (raw)
In-Reply-To: <00a601c6934e$b1e90b50$0401010a@GIZMO>

Robert Armstrong wrote:
>   Probably this is documented somewhere, but I really need a pointer 
> or a brief tutorial on the major/minor device numbers for mknod() and 
> the device names for MSCP drives in 2.11bsd.
>  
>   If I have a really simple PDP with an RQDXn and one RDxx disk, then 
> the device name is conventionally /dev/ra0x and the first partition, 
> ra0a is (5,0), the second, ra0b, is (5,1), etc.  Pretty easy.
>  
>   If I have two drives on my single RQDXn, then the second hard disk 
> is /dev/ra1 and ra1a is (5,8), ra1b is (5,9), etc.  I guess the offset 
> of 8 must be the maximum number of partitions on a drive - OK, I'm 
> still with you.
>  
>   But what if I have a second MSCP controller?  Assuming that I've 
> built the kernel to handle it and modified dtab to autoconfigure it, 
> that is.  What are the usual names and mknod() numbers for the drives 
> on the second controller?
The second controller starts at ra8a (5, 8), and ra8a must be MSCP unit 0.
>   Worse, what if the MSCP controller isn't a RQDX but is a real 
> UDA/QDA ?  Now the drives have their own MSCP unit numbers that can be 
> anything from 0 to 250 - where does this figure in?
An MSCP unit number greater than 8 cannot be accessed from 2.11BSD.
>   Same question for TMSCP - what if I have more than one tape 
> controller?  This case is easier, though, since TMSCP controllers 
> normally have only one drive associated with them.
Don't know a think about it...
> Thanks,
> Bob Armstrong
>
-chuck




      parent reply	other threads:[~2006-06-19 21:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19  3:15 Robert Armstrong
2006-06-19  6:57 ` Jochen Kunz
2006-06-19 14:51   ` Robert Armstrong
2006-06-19 15:08 ` Johnny Billquist
2006-06-19 21:43 ` C. H. Dickman
2006-06-20 15:45   ` Robert Armstrong
2006-06-19 21:53 ` C. H. Dickman [this message]

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=44971CE1.105@nktelco.net \
    --to=chd_1@nktelco.net \
    /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;
as well as URLs for NNTP newsgroup(s).