Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site sequent.UUCP
Path: utzoo!watmath!clyde!floyd!vax135!cornell!uw-beaver!tektronix!ogcvax!sequent!phil
From: phil@sequent.UUCP
Newsgroups: net.unix-wizards,net.unix
Subject: Re: dedicated tty lines
Message-ID: <404@sequent.UUCP>
Date: Fri, 17-Feb-84 22:43:28 EST
Article-I.D.: sequent.404
Posted: Fri Feb 17 22:43:28 1984
Date-Received: Mon, 20-Feb-84 09:10:34 EST
References: <1669@iedl02.UUCP>
Organization: Sequent Computer Systems, Portland
Lines: 20

> The easiest way to have a dedicated tty line is this:
> 	mknod /dev/printer c 22 1
> 	chmod a=w /dev/printer
> 	mknod /dev/tty01 c 22 1
> 

Having more than one name that points to the same device is not
a particularly good idea.  It is a much better practice to make
a hard link to the two or use "mv".  i.e.: 

 	mknod /dev/tty01 22 1
 	ln /dev/tty01 /dev/printer
 	chmod a=w /dev/printer

How many people know why this is better?
-- 

	Phil Hochstetler
	Sequent Computer Systems
	...!sequent!phil