NAME
MAKEDEV
—
create system and device special
files
SYNOPSIS
MAKEDEV |
name ... |
DESCRIPTION
The shell script MAKEDEV
, found in the
/dev directory, is used to create various special
files. See intro(4) for a more complete discussion of special files.
MAKEDEV
takes any number of device names
as arguments, where the names are the common abbreviation for the device or
group of devices.
Where a device name is followed by a star ‘*’, the
star must be replaced by a unit number. If units are expected for a device
but not provided, MAKEDEV
will supply the standard
numbers in most cases.
The sparc supports the following devices:
Special device names
- all
- Creates special files for all devices on sparc.
- ramdisk
- Ramdisk kernel devices.
- std
- Creates the ‘standard’ devices (console, klog, kmem, ksyms, mem, null, stderr, stdin, stdout, tty, zero) which are absolutely necessary for the system to function properly.
- local
- Creates configuration-specific devices, by invoking the shell file MAKEDEV.local.
- cd*
- ATAPI and SCSI CD-ROM drives, see cd(4).
- fd*
- Floppy disk drives (3 1/2", 5 1/4"), see fd(4).
- presto*
- Prestoserve NVRAM memory, see presto(4).
- sd*
- SCSI disks, including flopticals, see sd(4).
- rd*
- “rd” pseudo-disks, see rd(4).
- vnd*
- “file” pseudo-disk devices, see vnd(4).
- xd*
- Xylogic 753/7053 disks, see xd(4).
- xy*
- Xylogic 450/451 disks, see xy(4).
- ch*
- SCSI media changers, see ch(4).
- st*
- SCSI tape drives, see st(4).
- cua[a-z]*
- Zilog 8530 serial ports, see zs(4).
- magma*
- Magma multiport cards, see magma(4).
- spif*
- “spif” multiport cards, see spif(4).
- tty[0-7][0-9a-f]
- NS16x50 serial ports, see com(4).
- tty[a-z]*
- Zilog 8530 serial ports, see zs(4).
- ptm
- pty master device, see ptm(4).
- pty*
- Set of 62 master pseudo terminals, see pty(4).
- tty*
- Set of 62 slave pseudo terminals, see tty(4).
- bpp*
- Parallel port, see bpp(4).
- bpp[jkl]
- “spif” parallel port, see spif(4).
- bppmag[mno]
- Magma parallel port, see magma(4).
- ttyC-J*
- wscons display devices, see wsdisplay(4).
- wscons
- Minimal wscons devices, see wscons(4).
- wskbd*
- wscons keyboards, see wskbd(4).
- wsmux
- wscons keyboard/mouse mux devices, see wsmux(4).
- wsmouse*
- wscons mice, see wsmouse(4).
Special purpose devices
- apm
- Power management device, see tctrl(4).
- audio*
- Audio devices, see audio(4).
- bio
- ioctl tunnel pseudo-device, see bio(4).
- bpf*
- Berkeley Packet Filter, see bpf(4).
- diskmap
- Disk mapper, see diskmap(4).
- fd
- fd/* nodes, see fd(4).
- hotplug
- devices hot plugging, see hotplug(4).
- lkm
- Loadable kernel modules interface, see lkm(4).
- openprom
- PROM settings, see openprom(4).
- pf*
- Packet Filter, see pf(4).
- pppx*
- PPP Multiplexer, see pppx(4).
- *random
- In-kernel random data source, see random(4).
- systrace*
- System call tracing device, see systrace(4).
- tun*
- Network tunnel driver, see tun(4).
- uk*
- Unknown SCSI devices, see uk(4).
- vscsi*
- Virtual SCSI controller, see vscsi(8).
FILES
- /dev
- The special file directory.