The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: arnold@skeeve.com
To: tuhs@tuhs.org, jnc@mercury.lcs.mit.edu
Subject: [TUHS] Re: UNIX System V Release 2.2 gdts Vax-780
Date: Wed, 15 Mar 2023 02:05:10 -0600	[thread overview]
Message-ID: <202303150805.32F85Apq024391@freefriends.org> (raw)
In-Reply-To: <20230315005912.870D818C080@mercury.lcs.mit.edu>

jnc@mercury.lcs.mit.edu (Noel Chiappa) wrote:

>     > From: Ken Unix
>
>     > I have mknod but need the (c,b) major/minor numbers for /dev/lp
>
> It looks like SysV still has conf.c; you're looking for 'cdevsw'.
>
>    Noel

To be more explicit, you need to find the index in cdevsw of the lp
device.  You will then want to run

	mknod c <index> 0 /dev/lp  # I think that's the right argument order

That is, 'c' for character device, major device is the index in cdevsw,
and minor device indicates which physical one to use. Since you only
have one, it should be 0.

If the above is not correct, someone will correct me, I'm sure. :-)

HTH,

Arnold

  reply	other threads:[~2023-03-15  8:05 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  0:59 Noel Chiappa
2023-03-15  8:05 ` arnold [this message]
2023-03-15  8:52   ` Dave Horsfall
2023-03-15 11:09     ` KenUnix
2023-03-15 11:59 Noel Chiappa
2023-03-15 21:03 ` Warren Toomey via TUHS
2023-03-15 21:08   ` Clem Cole
2023-03-15 21:15     ` Luther Johnson
2023-03-15 21:18     ` Seth Morabito
2023-03-15 21:22       ` Larry McVoy
2023-03-15 21:27         ` Clem Cole
2023-03-15 21:38           ` KenUnix
2023-03-16 23:18             ` Clem Cole
2023-03-16 23:48               ` Charles H. Sauer (he/him)
2023-03-17  1:08                 ` Steve Nickolas
2023-03-15 21:46           ` Steve Nickolas
2023-03-15 21:50         ` Luther Johnson
2023-03-15 21:56         ` steve jenkin
2023-03-15 22:15           ` Larry McVoy
2023-03-15 23:30           ` Warner Losh
2023-03-15 23:41             ` Luther Johnson
2023-03-16  0:29               ` Warner Losh
2023-03-16  0:36                 ` Rich Salz
2023-03-16  1:55                   ` G. Branden Robinson
2023-03-16 21:14                   ` Dave Horsfall
2023-03-17  0:33                     ` Rich Salz
2023-03-17  1:05                       ` segaloco via TUHS
2023-03-17  2:03                         ` G. Branden Robinson
2023-03-17  3:17                           ` Dave Horsfall
2023-03-16  1:15               ` Larry McVoy
2023-03-16  2:14                 ` Luther Johnson
2023-03-15 23:44             ` Brad Spencer
2023-03-16  4:37         ` Dave Horsfall
2023-03-15 22:25 Noel Chiappa
2023-03-15 22:39 ` segaloco via TUHS

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=202303150805.32F85Apq024391@freefriends.org \
    --to=arnold@skeeve.com \
    --cc=jnc@mercury.lcs.mit.edu \
    --cc=tuhs@tuhs.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;
as well as URLs for NNTP newsgroup(s).