Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!im4u!swrinde!petro!tness1!mechjgh From: mechjgh@tness1.UUCP (8753) Newsgroups: comp.unix.wizards Subject: Re: SXTs files Message-ID: <188@tness1.UUCP> Date: Sat, 9-May-87 12:54:38 EDT Article-I.D.: tness1.188 Posted: Sat May 9 12:54:38 1987 Date-Received: Sun, 10-May-87 09:19:02 EDT References: <7283@brl-adm.ARPA> Reply-To: mechjgh@tness1.UUCP (Greg Hackney 713+521-8753) Organization: S.W. Bell, Network Engineering, Houston Lines: 46 In article <7283@brl-adm.ARPA> kaplan%BIMACS.BITNET@wiscvm.wisc.EDU (Arik Kaplan) writes: > > Does some one knows what is the device major number of the > SXTs files > I work on System V under Tower machine and when I tryed to > install the shl(1) I had problems because of the fact that > the computer doesn't know the major device number To get the major device numbers, run the -t option on the config file: config -t /kernel/tower/cf/config.cf (or whatever your config file is named) Assuming you have added an entry in the config.cf files something like: sxt 0 0 0 8 and the major device number is 27, here is a sample shell to install the sxt nodes in /dev: --------- major=27 minor=0 cd /dev mkdir sxt chmod 755 sxt for link in 00 01 02 03 04 05 06 07 do for chan in 0 1 2 3 4 5 6 7 do echo ${minor} ${link}${chan} mknod sxt${link}${chan} c ${major} ${minor} ln sxt${link}${chan} sxt/${link}${chan} minor=`expr ${minor} + 1` done done --------- -- Greg Hackney (713+521-8753) Southwestern Bell Telephone Co. Texas Network Engineering Support Systems P.O. Box 1530, Room 1009 Houston, Texas 77001 UUCP: ihnp4!tness1!mechjgh There's no future in time travel