*BSD News Article 98095


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!uunet!in1.uu.net!194.162.162.196!newsfeed.nacamar.de!europa.clark.net!howland.erols.net!newsfeed.internetmci.com!masternews.telia.net!nntp.bigblue.no!usenet
From: Frode Nordahl <froden@bigblue.no>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ttys
Date: Fri, 20 Jun 1997 13:58:35 +0200
Organization: Big Blue Systems AS
Lines: 52
Message-ID: <33AA706B.755085BB@bigblue.no>
References: <433069.d365eb@f23.n212.z2.fidonet.org>
NNTP-Posting-Host: eagle.bigblue.no
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2F3E41162C72E22D84853C73"
X-Mailer: Mozilla 4.01 [en] (Win95; I)
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43214

This is a multi-part message in MIME format.
--------------2F3E41162C72E22D84853C73
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Geir_Eivind Mork wrote:
> 
> How do I get more than four tty's in FreeBSD (virtual ttys), in /dev
> I've only got ttyv0-3 ? I'm new with this so..

In /dev you have theese files

-
crw-------  1 root  wheel   12,   0 Jun 18 14:35 /dev/ttyv0
crw-------  1 root  wheel   12,   1 Jun 18 14:34 /dev/ttyv1
crw-------  1 root  wheel   12,   2 Jun 18 14:34 /dev/ttyv2
crw-------  1 root  wheel   12,   3 May 20 21:20 /dev/ttyv3
-

To create more, execute:
mknod c 12 4 /dev/ttyv4
mknod c 12 5 /dev/ttyv5
...
...

Then add the ttys to /etc/ttys remember to turn them "on" in the ttys
file, and then execute "kill -HUP 1" to make init reload the ttys file.

Then you have more virtual ttys... :)
--------------2F3E41162C72E22D84853C73
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Frode Nordahl
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Frode Nordahl
n:              Nordahl;Frode
org:            Big Blue Systems AS
adr:            P.B. 9043 Grønland;;0133 Oslo;Oslo;-;N-0133;NORWAY
email;internet: froden@bigblue.no
title:          Technical manager
tel;work:       (+47) 22204718
tel;fax:        (+47) 22203919
tel;home:       -
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
end:            vcard


--------------2F3E41162C72E22D84853C73--