MAKEDEV(8)

NAME
MAKEDEV, makedev - create system and device special files

SYNOPSIS
MAKEDEV name [...]

DESCRIPTION
The shell script MAKEDEV, found in the /dev directory, is used to create the common special files.

MAKEDEV takes any number of device names as arguments, where the names are the common abbreviation for the device.

The NetBSD/alpha MAKEDEV script supports the following special names.

all All known devices for the NetBSD/alpha, including devices made with “local”. If units are expected for a device MAKEDEV supplies the standard numbers.
local
    Configuration specific devices, which are created by running the MAKEDEV.local shell script with the argument “all”.
minimal
    A minimal set of device, for use on install disks, etc.
std The standard devices (console, drum, klog, kmem, mem, null, stderr, stdin, stdout, tty, zero).
usbs
    All USB devices. If units are expected for a device MAKEDEV supplies the standard numbers.

The NetBSD/alpha MAKEDEV script supports the following device names. Where a device name is followed by a hash sign (“#”), the hash sign must be replaced by a unit number.

Tape devices
    st# SCSI tape drives

Disk devices
    ccd#
        Concatenated pseudo-disks
    cd# ATAPI and SCSI CD-ROMs
    md# Memory pseudo-disks
    raid#
        RAIDframe pseudo-disks
    sd# ATAPI and SCSI disks
    vnd#
        File pseudo-disks
    wd# IDE disks
    fd# PC-style floppy disks

Terminals
    ttyB#
        DEC 3000 ZS8530 “scc” serial ports
    ttyC#
        AlphaStation NS16550 “com” serial ports
    ttyE#
        Workstation console “wscons” glass-tty emulators

Pseudo terminals
    pty#
        Set of 16 master and slave pseudo terminals

Printers
    lpt#
        PC Parallel port driver (“lpt”) units
    lpa#
        Polled PC Parallel port driver (“lpt”) units

USB devices
    usb#
        Bus control devices used by usbd(8)
    uhid#
        USB generic HID devices
    ulpt#
        USB printer devices
    ugen#
        USB generic devices

Special purpose devices
    audio#
        Audio devices
    bpf#
        Berkeley Packet Filter devices
    ch# SCSI media changers
    fd  File descriptors (/dev/fd/*).
    ipl IP filter
    kbd Keyboard (provides events, for X11)
    lkm Loadable kernel modules interface
    mouse
        Mouse (provides events, for X11)
    random
        Random number generator
    satlink#
        PlanetConnect satellite receiver driver
    scsibus#
        SCSI busses
    speaker
        PC speaker (IBM BASIC playstring emulation)
    ss# SCSI scanners
    tun#
        Network tunnel driver
    uk# Unknown SCSI devices

FILES
/dev
    The special file directory.

SEE ALSO
intro(4), config(8), mknod(8)

BUGS
This manual page was created from the list at the top of the NetBSD/alpha shell script. That script's comments may be incorrect, and this manual page must be kept in sync with them, so it may be even more incorrect. At the very least, the ordering of device names in that file seems almost random.