#!/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 \ c0d4 c0d4p0 c0d4p0s0 c0d5 c0d5p0 c0d5p0s0 \ c0d6 c0d6p0 c0d6p0s0 c0d7 c0d7p0 c0d7p0s0 \ c1d0 c1d0p0 c1d0p0s0 c1d1 c1d1p0 c1d1p0s0 \ c1d2 c1d2p0 c1d2p0s0 c1d3 c1d3p0 c1d3p0s0 \ c1d4 c1d4p0 c1d4p0s0 c1d5 c1d5p0 c1d5p0s0 \ c1d6 c1d6p0 c1d6p0s0 c1d7 c1d7p0 c1d7p0s0 \ tty ttyc1 ttyc2 ttyc3 tty00 tty01 tty02 tty03 \ ttyp0 ttyp1 ttyp2 ttyp3 ttyp4 ttyp5 ttyp6 ttyp7 ttyp8 ttyp9 \ ttypa ttypb ttypc ttypd ttype ttypf \ ttyq0 ttyq1 ttyq2 ttyq3 ttyq4 ttyq5 ttyq6 ttyq7 ttyq8 ttyq9 \ ttyqa ttyqb ttyqc ttyqd ttyqe ttyqf \ eth klog random uds filter fbd hello fb0 ;; 0:|1:-\?) cat >&2 <&2 ex=1 esac done exit $ex