Add device creation support for systrace.

This commit is contained in:
christos 2002-06-17 16:21:03 +00:00
parent da942834bb
commit 4bef4356c3
47 changed files with 502 additions and 128 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.2 2002/04/02 22:21:28 bjh21 Exp $
# $NetBSD: MAKEDEV,v 1.3 2002/06/17 16:21:03 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -84,6 +84,7 @@
# tun* network tunnel driver
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
dialin=0
dialout=524288
@ -117,6 +118,7 @@ all)
makedev wskbd0 wsmouse0
makedev com0 lpt0 arcpp0
makedev clockctl
makedev systrace
;;
ramdisk)
@ -373,12 +375,17 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 28 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all
umask 77
;;
*)
echo $i: unknown device
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.15 2002/03/16 17:03:28 martin Exp $
# $NetBSD: MAKEDEV,v 1.16 2002/06/17 16:21:04 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -114,6 +114,7 @@
# rtc* RTC device
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -154,6 +155,7 @@ all)
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
ramdisk|floppy)
@ -685,6 +687,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.1 2002/04/01 23:32:17 thorpej Exp $
# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:04 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -117,6 +117,7 @@
# mlx* Mylex DAC960 control interface
# altq ALTQ control device
# wsmux* wscons event multiplexor
# systrace syscall tracer
dialin=0
dialout=524288
@ -160,6 +161,7 @@ all)
makedev ttyCZ0 ttyCY0
makedev altq
makedev clockctl
makedev systrace
;;
minimal)
@ -708,6 +710,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 67 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.95 2002/03/16 17:03:29 martin Exp $
# $NetBSD: MAKEDEV,v 1.96 2002/06/17 16:21:04 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -122,6 +122,7 @@
# pci* PCI bus access devices
# agp* AGP GART devices
# stic* PixelStamp interface chip
# systrace syscall tracer
dialin=0
dialout=524288
@ -167,6 +168,7 @@ all)
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
makedev clockctl
makedev systrace
;;
minimal)
@ -739,6 +741,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 70 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.75 2002/06/17 06:27:26 lukem Exp $
# $NetBSD: MAKEDEV,v 1.76 2002/06/17 16:21:05 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -116,6 +116,7 @@
# ch* SCSI media changer
# audio* one unit of the audio device. On Amiga machines,
# Unit 0 is custom chip audio, if configured
# systrace syscall tracer
#
# for new-style serial interfaces:
@ -161,6 +162,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
floppy)
@ -655,6 +657,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 56 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.20 2002/03/16 17:03:30 martin Exp $
# $NetBSD: MAKEDEV,v 1.21 2002/06/17 16:21:05 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -98,6 +98,7 @@
# tun* network tunnel driver
# uk* unknown SCSI device
# wsmux* wscons event multiplexor
# systrace syscall tracer
dialin=0
dialout=524288
@ -137,6 +138,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
minimal)
@ -498,6 +500,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 53 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.56 2002/06/12 19:36:31 leo Exp $
# $NetBSD: MAKEDEV,v 1.57 2002/06/17 16:21:05 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -110,6 +110,7 @@
# uk* unknown SCSI device
# ch* SCSI media changer
# view* generic interface to graphic displays.
# systrace syscall tracer
#
# Video devices:
# etvme Tseng et-compatible cards on VME
@ -158,6 +159,7 @@ all)
makedev isdns
makedev clockctl
makedev wscons
makedev systrace
;;
floppy)
@ -622,6 +624,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 53 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.31 2002/04/18 15:44:21 wiz Exp $
# $NetBSD: MAKEDEV,v 1.32 2002/06/17 16:21:05 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -102,6 +102,7 @@
# ch* SCSI media changer
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -142,6 +143,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
floppy)
@ -601,6 +603,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 59 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.9 2002/04/18 13:24:56 wiz Exp $
# $NetBSD: MAKEDEV,v 1.10 2002/06/17 16:21:05 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -113,6 +113,7 @@
# wsmux* wscons event multiplexor
# wsfont* console font control
# pci* PCI bus access devices
# systrace syscall tracer
#
dialin=0
@ -125,7 +126,7 @@ umask 77
# Check if we have fdesc mounted
if [ -d fd ]; then
case "`df fd`" in
*fdesc*) nofdesc=false;;
kfdesc*) nofdesc=false;;
*) nofdesc=true;;
esac
else
@ -152,7 +153,8 @@ all)
makedev mouse-qms0 random
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
make ev clockctl
makedev systrace
;;
ramdisk|floppy)
@ -683,6 +685,11 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.17 2002/03/16 17:03:31 martin Exp $
# $NetBSD: MAKEDEV,v 1.18 2002/06/17 16:21:06 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -89,6 +89,7 @@
# ss* SCSI scanner
# tun* network tunnel driver
# uk* unknown SCSI device
# systrace syscall tracer
dialin=0
dialout=524288
@ -125,6 +126,7 @@ all)
makedev random local isdns
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
minimal)
@ -410,6 +412,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 34 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.17 2002/05/25 16:31:09 uch Exp $
# $NetBSD: MAKEDEV,v 1.18 2002/06/17 16:21:06 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -77,6 +77,7 @@
# apm power management device
# tun* network tunnel driver
# joy* joystick device
# systrace syscall tracer
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -107,6 +108,7 @@ all)
makedev ccd0 ccd1 ccd2 ccd3 md0 random
makedev lkm audio local
makedev clockctl
makedev systrace
;;
ramdisk)
@ -400,6 +402,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 60 0
chmod 644 systrace
;;
local)
umask 0
#sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.14 2002/03/16 17:03:32 martin Exp $
# $NetBSD: MAKEDEV,v 1.15 2002/06/17 16:21:06 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -104,6 +104,7 @@
# ss* SCSI scanner
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -142,6 +143,7 @@ all)
makedev random
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev systrace
;;
ramdisk|floppy)
@ -630,6 +632,12 @@ isdntrc*)
chmod 600 isdntrc$unit
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.1 2002/04/10 14:21:00 simonb Exp $
# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:06 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -119,6 +119,7 @@
# altq ALTQ control device
# wsmux* wscons event multiplexor
# pci* PCI bus access devices
# systrace syscall tracer
dialin=0
dialout=524288
@ -152,6 +153,7 @@ all)
sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
sh $0 altq
sh $0 clockctl
sh $0 systrace
;;
minimal)
@ -739,6 +741,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 70 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.13 2002/05/25 16:31:10 uch Exp $
# $NetBSD: MAKEDEV,v 1.14 2002/06/17 16:21:07 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -69,6 +69,7 @@
# apm power management device
# tun* network tunnel driver
# joy* joystick device
# systrace syscall tracer
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -99,6 +100,7 @@ all)
makedev ccd0 ccd1 ccd2 ccd3 md0 random
makedev lkm audio local
makedev clockctl
makedev systrace
;;
ramdisk)
@ -325,6 +327,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 53 0
chmod 644 systrace
;;
local)
umask 0
#sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.46 2002/03/13 01:26:57 simonb Exp $
# $NetBSD: MAKEDEV,v 1.47 2002/06/17 16:21:07 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -81,6 +81,7 @@
# ipl IPilter control
# random Random number generator
# scsibus* SCSI busses, see scsi(4), scsictl(8)
# systrace syscall tracer
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin
@ -114,6 +115,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev local
makedev clockctl
makedev systrace
;;
std)
@ -517,6 +519,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 43 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.1 2002/06/06 20:35:38 fredette Exp $
# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:07 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -61,6 +61,7 @@
# tun* network tunnel driver
# random Random number generator
# scsibus* SCSI busses, see scsictl(8), scsi(4)
# systrace syscall tracer
PATH=/sbin:/bin:/usr/sbin:/usr/bin
umask 77
@ -96,6 +97,7 @@ all)
sh $0 lkm random
sh $0 scsibus0 scsibus1 scsibus2 scsibus3
sh $0 local
sh $0 systrace
;;
std)
@ -227,6 +229,12 @@ scsibus*)
# mk scsibus${unit} c 81 $unit 644 wheel
;;
systrace)
rm -f systrace
mknod systrace c 34 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.2 2002/04/18 13:24:58 wiz Exp $
# $NetBSD: MAKEDEV,v 1.3 2002/06/17 16:21:07 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -114,6 +114,7 @@
# rtc* RTC device
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -154,6 +155,7 @@ all)
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
ramdisk|floppy)
@ -691,6 +693,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.36 2002/03/23 09:06:50 hamajima Exp $
# $NetBSD: MAKEDEV,v 1.37 2002/06/17 16:21:07 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -102,6 +102,7 @@
# ch* SCSI media changer
# ucbsnd UCB1200 (TX39) audio device. 22.154kHz mono 16bit
# audio* audio devices
# systrace syscall tracer
#
dialin=0
@ -143,6 +144,7 @@ all)
makedev ttyTX0 ttyTX1 ucbsnd
makedev clockctl
makedev audio
makedev systrace
# makedev local
;;
@ -643,6 +645,12 @@ audio*)
chmod 666 $audio $sound $mixer $audioctl
;;
systrace)
rm -f systrace
mknod systrace c 49 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.17 2002/05/25 16:31:10 uch Exp $
# $NetBSD: MAKEDEV,v 1.18 2002/06/17 16:21:08 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -76,6 +76,7 @@
# ss* SCSI scanner
# uk* unknown SCSI device
# ch* SCSI media changer
# systrace syscall tracer
#
dialin=0
@ -111,6 +112,7 @@ all)
makedev scsibus0
# makedev local
makedev clockctl
makedev systrace
;;
ramdisk)
@ -434,6 +436,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 35 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.175 2002/04/18 12:54:11 wiz Exp $
# $NetBSD: MAKEDEV,v 1.176 2002/06/17 16:21:08 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -136,6 +136,7 @@
# dpti* DPT/Adaptec RAID management interface
# radio* radio devices
# nsmb* SMB requester
# systrace syscall tracer
#
dialin=0
@ -192,6 +193,7 @@ all)
makedev cir0 cir1 irframe0 irframe1
makedev clockctl
makedev nsmb0 nsmb1 nsmb2 nsmb3
makedev systrace
;;
audio)
@ -948,6 +950,12 @@ nsmb*)
chmod 644 $nsmb
;;
systrace)
rm -f systrace
mknod systrace c 90 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.16 2002/03/13 01:26:58 simonb Exp $
# $NetBSD: MAKEDEV,v 1.17 2002/06/17 16:21:08 christos Exp $
#
# Device "make" file. Valid arguments:
# std standard devices
@ -34,6 +34,7 @@
# uk* unknown SCSI device
# wskbd0 Workstation console ("wscons") keyboard
# wsmouse0 Workstation console ("wscons") mouse
# systrace syscall tracer
PATH=/sbin:/usr/sbin:/bin:/usr/bin
umask 77
@ -61,6 +62,7 @@ all)
sh -$- $0 wskbd wsmouse ttyE0 ttyEcfg
sh -$- $0 scsibus0
sh -$- $0 clockctl
sh -$- $0 systrace
;;
std)
rm -f console drum mem kmem null zero io klog
@ -307,6 +309,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 36 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $NetBSD: MAKEDEV,v 1.60 2002/04/27 19:29:08 shiba Exp $
# $NetBSD: MAKEDEV,v 1.61 2002/06/17 16:21:09 christos Exp $
#
###########################################################################
#
@ -82,6 +82,7 @@
# adb Apple Desktop Bus
# asc* Apple Sound Chip
# cfs* Venus cache driver, for Coda
# systrace syscall tracer
#
dialin=0
@ -118,6 +119,7 @@ all)
makedev tun0 tun1 tun2 tun3 asc0 lkm ipl local
makedev scsibus0 scsibus1 scsibus2 scsibus3 cfs0
makedev clockctl
makedev systrace
;;
std)
@ -428,6 +430,11 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 50 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.60 2002/03/30 07:40:37 tsutsui Exp $
# $NetBSD: MAKEDEV,v 1.61 2002/06/17 16:21:09 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -105,6 +105,7 @@
# wsmux* wscons event multiplexor
# pci* PCI bus access devices
# sysmon System Monitoring hardware
# systrace syscall tracer
#
dialin=0
@ -145,6 +146,7 @@ all)
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev clockctl
makedev sysmon
makedev systrace
;;
audio)
@ -737,6 +739,12 @@ sysmon)
chmod 644 watchdog
;;
systrace)
rm -f systrace
mknod systrace c 63 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.13 2002/03/13 01:26:59 simonb Exp $
# $NetBSD: MAKEDEV,v 1.14 2002/06/17 16:21:09 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -71,6 +71,7 @@
# scsibus* SCSI busses, see scsi(4), scsictl(8)
# ss* SCSI scanner
# uk* unknown SCSI device
# systrace syscall tracer
PATH=/sbin:/usr/sbin:/bin:/usr/bin
umask 77
@ -102,6 +103,7 @@ all)
makedev ipl raid0 raid1 raid2 raid3
makedev lkm random local
makedev clockctl
makedev systrace
;;
minimal|ramdisk)
@ -353,6 +355,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 76 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.20 2002/05/25 16:31:10 uch Exp $
# $NetBSD: MAKEDEV,v 1.21 2002/06/17 16:21:09 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -76,6 +76,7 @@
# uk* unknown SCSI device
# ch* SCSI media changer
# cfs* Coda file system device
# systrace syscall tracer
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -108,6 +109,7 @@ all)
makedev speaker lkm audio joy0 joy1 apm local satlink0
makedev scsibus0 scsibus1
makedev clockctl
makedev systrace
;;
floppy)
@ -437,6 +439,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 53 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.36 2002/03/24 17:58:54 scw Exp $
# $NetBSD: MAKEDEV,v 1.37 2002/06/17 16:21:10 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -74,6 +74,7 @@
# ch* SCSI media changer
# ipl IP Filter device
# random Random number generator
# systrace syscall tracer
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/etc
@ -107,6 +108,7 @@ all)
makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
std)
@ -353,6 +355,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 40 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.5 2002/03/16 17:03:34 martin Exp $
# $NetBSD: MAKEDEV,v 1.6 2002/06/17 16:21:10 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -98,6 +98,7 @@
# wsfont Console font control
# wsmux* wscons event multiplexor
# pci* PCI bus access devices
# systrace syscall tracer
#
dialin=0
@ -139,6 +140,7 @@ all)
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev clockctl
makedev systrace
;;
floppy)
@ -493,28 +495,28 @@ audio*)
mknod $audioctl c $major $(($unit + 192))
chmod 666 $audio $sound $mixer $audioctl
;;
rmidi*)
unit=${i#rmidi}
major=58
rmidi=rmidi$unit
rm -f $rmidi
mknod $rmidi c $major $unit
chmod 666 $rmidi
;;
music*)
unit=${i#music}
music=music$unit
sequencer=sequencer$unit
major=59
if [ "$unit" = "" ]; then unit=0; fi
rm -f $sequencer $music
mknod $music c $major $(($unit + 0))
mknod $sequencer c $major $(($unit + 128))
chmod 666 $music $sequencer
;;
#
#rmidi*)
# unit=${i#rmidi}
# major=58
# rmidi=rmidi$unit
# rm -f $rmidi
# mknod $rmidi c $major $unit
# chmod 666 $rmidi
# ;;
#
#music*)
# unit=${i#music}
# music=music$unit
# sequencer=sequencer$unit
# major=59
# if [ "$unit" = "" ]; then unit=0; fi
# rm -f $sequencer $music
# mknod $music c $major $(($unit + 0))
# mknod $sequencer c $major $(($unit + 128))
# chmod 666 $music $sequencer
# ;;
#
random)
chr=46
rm -f random urandom
@ -524,69 +526,76 @@ random)
chmod 644 urandom
;;
cfs*)
unit=${i#cfs}
cfs=cfs$unit
major=60
rm -f $cfs
mknod $cfs c $major $unit
chmod 600 $cfs
;;
scsibus*)
unit=${i#scsibus}
rm -f scsibus$unit
mknod scsibus$unit c 61 $unit
chmod 644 scsibus$unit
;;
isdn)
rm -f isdn
mknod isdn c 66 0
chmod 600 isdn
;;
isdnctl)
rm -f isdnctl
mknod isdnctl c 67 0
chmod 600 isdnctl
;;
isdnbchan*)
unit=${i#isdnbchan}
rm -f isdnbchan$unit
mknod isdnbchan$unit c 68 $unit
chmod 600 isdnbchan$unit
;;
isdntel*)
unit=${i#isdntel}
rm -f isdntel$unit
mknod isdntel$unit c 70 $unit
chmod 600 isdntel$unit
;;
isdntrc*)
unit=${i#isdntrc}
rm -f isdntrc$unit
mknod isdntrc$unit c 69 $unit
chmod 600 isdntrc$unit
;;
pci*)
unit=${i#pci}
rm -f pci$unit
mknod pci$unit c 72 $unit
chmod 644 pci$unit
;;
#cfs*)
# unit=${i#cfs}
# cfs=cfs$unit
# major=60
# rm -f $cfs
# mknod $cfs c $major $unit
# chmod 600 $cfs
# ;;
#
#scsibus*)
# unit=${i#scsibus}
# rm -f scsibus$unit
# mknod scsibus$unit c 61 $unit
# chmod 644 scsibus$unit
# ;;
#
#isdn)
# rm -f isdn
# mknod isdn c 66 0
# chmod 600 isdn
# ;;
#
#isdnctl)
# rm -f isdnctl
# mknod isdnctl c 67 0
# chmod 600 isdnctl
# ;;
#
#isdnbchan*)
# unit=${i#isdnbchan}
# rm -f isdnbchan$unit
# mknod isdnbchan$unit c 68 $unit
# chmod 600 isdnbchan$unit
# ;;
#
#isdntel*)
# unit=${i#isdntel}
# rm -f isdntel$unit
# mknod isdntel$unit c 70 $unit
# chmod 600 isdntel$unit
# ;;
#
#isdntrc*)
# unit=${i#isdntrc}
# rm -f isdntrc$unit
# mknod isdntrc$unit c 69 $unit
# chmod 600 isdntrc$unit
# ;;
#
#pci*)
# unit=${i#pci}
# rm -f pci$unit
# mknod pci$unit c 72 $unit
# chmod 644 pci$unit
# ;;
#
clockctl)
rm -f clockctl
mknod clockctl c 73 0
mknod clockctl c 58 0
chgrp ntpd clockctl
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 59 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.18 2002/04/18 13:24:58 wiz Exp $
# $NetBSD: MAKEDEV,v 1.19 2002/06/17 16:21:10 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -112,6 +112,7 @@
# rtc* RTC device
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -151,6 +152,7 @@ all)
makedev mouse-qms0 random openfirm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev systrace
;;
ramdisk|floppy)
@ -673,6 +675,12 @@ isdntrc*)
chmod 600 isdntrc$unit
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.17 2002/03/13 01:27:00 simonb Exp $
# $NetBSD: MAKEDEV,v 1.18 2002/06/17 16:21:10 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -70,6 +70,7 @@
# scsibus* SCSI busses, see scsi(4), scsictl(8)
# ss* SCSI scanner
# uk* unknown SCSI device
# systrace syscall tracer
PATH=/sbin:/usr/sbin:/bin:/usr/bin
umask 77
@ -102,6 +103,7 @@ all)
makedev ipl raid0 raid1 raid2 raid3
makedev lkm random local
makedev clockctl
makedev systrace
;;
floppy)
@ -359,6 +361,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 77 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.30 2002/03/16 16:42:46 tsutsui Exp $
# $NetBSD: MAKEDEV,v 1.31 2002/06/17 16:21:11 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -70,6 +70,7 @@
# ss* SCSI scanner
# uk* unknown SCSI device
# wsmux* wscons event multiplexor
# systrace syscall tracer
PATH=/sbin:/usr/sbin:/bin:/usr/bin
umask 77
@ -102,6 +103,7 @@ all)
makedev ipl raid0 raid1 raid2 raid3
makedev lkm random local
makedev clockctl
makedev systrace
;;
floppy)
@ -416,6 +418,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 76 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $NetBSD: MAKEDEV,v 1.28 2002/03/13 01:27:00 simonb Exp $
# $NetBSD: MAKEDEV,v 1.29 2002/06/17 16:21:11 christos Exp $
#
###########################################################################
#
@ -77,6 +77,7 @@
# uk* unknown SCSI device
# ch* SCSI media changer
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin
@ -109,6 +110,7 @@ all)
makedev tun0 tun1 tun2 tun3 lkm ipl local
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
std)
@ -411,6 +413,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 47 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.40 2002/03/13 01:27:00 simonb Exp $
# $NetBSD: MAKEDEV,v 1.41 2002/06/17 16:21:11 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -73,6 +73,7 @@
# uk* unknown SCSI device
# ch* SCSI media changer
# se* SCSI Ethernet
# systrace syscall tracer
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -107,6 +108,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev local
makedev clockctl
makedev systrace
;;
floppy)
@ -357,6 +359,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 33 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.13 2002/05/25 09:25:25 hamajima Exp $
# $NetBSD: MAKEDEV,v 1.14 2002/06/17 16:21:12 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -61,6 +61,7 @@
# ipl ip filter
# random Random number generator
# tun* network tunnel driver
# systrace syscall tracer
#
dialin=0
@ -98,6 +99,7 @@ all)
makedev md0
makedev usbs
makedev clockctl
makedev systrace
;;
std)
@ -424,6 +426,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 39 0
chmod 644 systrace
;;
*)
echo $i: unknown device
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.51 2002/03/13 01:27:01 simonb Exp $
# $NetBSD: MAKEDEV,v 1.52 2002/06/17 16:21:12 christos Exp $
#
# from: @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@ -45,6 +45,7 @@
# ss* SCSI scanner
# tun* network tunnel driver
# uk* unknown SCSI device
# systrace syscall tracer
# Platform-specific devices:
# NOTE: /dev/mouse should be a link to one of these for X windows.
# fb* generic framebuffer pseudo-device
@ -89,6 +90,7 @@ all)
makedev audio
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
minimal)
@ -408,6 +410,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 103 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.1 2002/05/30 08:54:07 augustss Exp $
# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:12 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -95,6 +95,7 @@
# ch* SCSI media changer
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -133,6 +134,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
floppy)
@ -541,6 +543,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 59 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.25 2002/03/16 17:03:35 martin Exp $
# $NetBSD: MAKEDEV,v 1.26 2002/06/17 16:21:12 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -98,6 +98,7 @@
# wsfont Console font control
# wsmux* wscons event multiplexor
# pci* PCI bus access devices
# systrace syscall tracer
#
dialin=0
@ -139,6 +140,7 @@ all)
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev clockctl
makedev systrace
;;
floppy)
@ -587,6 +589,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 74 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.21 2002/04/18 13:24:59 wiz Exp $
# $NetBSD: MAKEDEV,v 1.22 2002/06/17 16:21:12 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -95,6 +95,7 @@
# ch* SCSI media changer
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -133,6 +134,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
floppy)
@ -541,6 +543,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 59 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.1 2002/04/10 14:21:46 simonb Exp $
# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:13 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -105,6 +105,7 @@
# ss* SCSI scanner
# tun* network tunnel driver
# uk* unknown SCSI device
# systrace syscall tracer
dialin=0
dialout=524288
@ -136,6 +137,7 @@ all)
sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
sh $0 altq
sh $0 clockctl
sh $0 systrace
;;
minimal)
@ -610,6 +612,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 70 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.21 2002/03/16 17:03:36 martin Exp $
# $NetBSD: MAKEDEV,v 1.22 2002/06/17 16:21:13 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -99,6 +99,7 @@
# uk* unknown SCSI device
# wsfont* console font control
# wsmux* wscons event multiplexor
# systrace syscall tracer
dialin=0
dialout=524288
@ -136,6 +137,7 @@ all)
makedev random local isdns
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
minimal)
@ -489,6 +491,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 63 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.6 2002/03/16 17:03:37 martin Exp $
# $NetBSD: MAKEDEV,v 1.7 2002/06/17 16:21:13 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -116,6 +116,7 @@
# wsmux* wscons event multiplexor
# wsfont* console font control
# pci* PCI bus access devices
# systrace syscall tracer
#
dialin=0
@ -156,6 +157,7 @@ all)
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
ramdisk|floppy)
@ -697,6 +699,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.75 2002/03/16 17:03:37 martin Exp $
# $NetBSD: MAKEDEV,v 1.76 2002/06/17 16:21:13 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -91,6 +91,7 @@
# pci* PCI bus access devices
# magma* Magma multiport serial/parallel cards
# clcd* CL18xx-based multiport serial cards
# systrace syscall tracer
dialin=0
dialout=524288 # high bit of the minor number
@ -133,6 +134,7 @@ all)
sh -$- $0 isdns
sh -$- $0 pci0
sh -$- $0 clockctl
sh -$- $0 systrace
;;
floppy|ramdisk)
@ -567,6 +569,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 126 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.35 2002/03/16 17:03:38 martin Exp $
# $NetBSD: MAKEDEV,v 1.36 2002/06/17 16:21:14 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -91,6 +91,7 @@
# ss* SCSI scanner
# uk* unknown SCSI device
# pci* PCI bus access devices
# systrace syscall tracer
#
@ -134,6 +135,7 @@ all)
sh -$- $0 isdns
sh -$- $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
sh -$- $0 clockctl
sh -$- $0 systrace
;;
floppy|ramdisk)
sh -$- $0 std ttya ttyb ttyc ttyd opty
@ -527,6 +529,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 126 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.13 2002/06/17 13:30:39 fredette Exp $
# $NetBSD: MAKEDEV,v 1.14 2002/06/17 16:21:15 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -66,6 +66,7 @@
# tun* network tunnel driver
# random Random number generator
# scsibus* SCSI busses, see scsi(4), scsictl(8)
# systrace syscall tracer
# XXX - Keep /usr/etc so SunOS can find chown
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc
@ -115,6 +116,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev local
makedev clockctl
makedev systrace
;;
std)
@ -282,6 +284,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 90 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.44 2002/06/17 13:30:39 fredette Exp $
# $NetBSD: MAKEDEV,v 1.45 2002/06/17 16:21:15 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -67,6 +67,7 @@
# tun* network tunnel driver
# random Random number generator
# scsibus* SCSI busses, see scsi(4), scsictl(8)
# systrace syscall tracer
# XXX - Keep /usr/etc so SunOS can find chown
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc
@ -127,6 +128,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev local
makedev clockctl
makedev systrace
;;
std)
@ -306,6 +308,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 85 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.48 2002/03/13 01:27:03 simonb Exp $
# $NetBSD: MAKEDEV,v 1.49 2002/06/17 16:21:15 christos Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@ -69,6 +69,7 @@
# uk* unknown SCSI device
# ch* SCSI media changer
# random Random number generator
# systrace syscall tracer
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
umask 77
@ -99,6 +100,7 @@ all)
makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev clockctl
makedev systrace
;;
std)
@ -571,6 +573,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 76 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.19 2002/04/18 13:24:59 wiz Exp $
# $NetBSD: MAKEDEV,v 1.20 2002/06/17 16:21:15 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -93,6 +93,7 @@
# ch* SCSI media changer
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
#
dialin=0
@ -131,6 +132,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
ramdisk)
@ -533,6 +535,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 60 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.51 2002/06/15 11:16:45 isaki Exp $
# $NetBSD: MAKEDEV,v 1.52 2002/06/17 16:21:15 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -105,6 +105,7 @@
# uk* unknown SCSI device
# ss* SCSI scanner
# scsibus* SCSI busses, see scsi(4), scsictl(8)
# systrace syscall tracer
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@ -141,6 +142,7 @@ all)
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev clockctl
makedev systrace
;;
floppy)
@ -585,6 +587,12 @@ clockctl)
chmod 660 clockctl
;;
systrace)
rm -f systrace
mknod systrace c 49 0
chmod 644 systrace
;;
local)
umask 0
sh $0.local all