#!/bin/sh # # MAKEDEV 3.3 - Make special devices. Author: Kees J. Bot case $1 in -n) e=echo; shift ;; # Just echo when -n is given. *) e= esac case $#:$1 in 1:std) # Standard devices. set -$- mem fd0 fd1 fd0p0 fd1p0 \ c0d0 c0d0p0 c0d0p0s0 c0d1 c0d1p0 c0d1p0s0 \ c0d2 c0d2p0 c0d2p0s0 c0d3 c0d3p0 c0d3p0s0 \ tty ttyc1 ttyc2 ttyc3 tty00 tty01 ttyp0 ttyp1 ttyp2 ttyp3 eth klog ;; 0:|1:-\?) cat >&2 <&2 ex=1 esac done exit $ex