Return to BSD News archive
Newsgroups: comp.os.386bsd.bugs Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!ieunet!ieunet!dec4ie.ieunet.ie!jkh From: jkh@whisker.lotus.ie (Jordan K. Hubbard) Subject: Re: [FREEBSD] syscons-MAKEDEV In-Reply-To: schinagl@fstghp04.tu-graz.ac.at's message of 5 Sep 1993 10: 32:57 GMT Message-ID: <JKH.93Sep5213210@whisker.lotus.ie> Sender: usenet@ieunet.ie (USENET News System) Nntp-Posting-Host: whisker.lotus.ie Organization: Lotus Development Ireland References: <26cf8pINNq44@fstgds15.tu-graz.ac.at> Date: Sun, 5 Sep 1993 21:32:10 GMT Lines: 26 >It would nice, if the syscons-MAKEDEV file would be shipped with >FreeBSD. Otherwise you have to create the devices by hand. For those, who >don't have the syscons-MAKEDEV, and are too lazy to type: Well, I didn't think it was needed since the vty entry in the existing MAKEDEV does a fine job. In retrospect, I definately should have changed the comment, however, since it makes it look like it's only for codrv: (sorry about that) # vty* virtual console devices for codrv (cleans up pc devices) # ... # hv 22-apr-93 use this to create virtual consoles for codrv # /dev/ttyv00-12 # use as MAKEDEV vtyNN to create NN entries vty*) chr=12 units=`expr $i : 'vty\(.*\)'` umask 0 eval `echo ${chr} ${units} | awk ' { c=$1; n=$2 } END { for (i = 0; i < n; i++) printf("rm -f ttyv%01x; mknod ttyv%01x c %d %d;", \ i, i, c, i); }'` umask 77 ;; -- Jordan Hubbard jkh@violet.berkeley.edu, jkh@al.org, jkh@whisker.lotus.ie