MKNOD(8) MKNOD(8) NAME mknod - construct special file SYNOPSIS /etc/mknod name [ c ] [ b ] major minor DESCRIPTION Mknod makes a special file. The first argument is the name of the entry. The second is b to make a file for a block device, c to make a character device. The last two argu- ments are numbers specifying the major device type and the minor device (e.g. unit, drive, or line number). Minor devices are specific to each device driver; see the writeups in Section 4. The assignment of major device num- bers varies with the implementation. Here are some conven- tional ones in the system used on VAXes: Block devices 0 MASSBUS SMD disk 1 block TE16 tape, mt(4) 2 UNIBUS SMD disk 3 VAX 8550 console disk 7 MSCP disk, ra(4) 8 block TU78 tape, mt(4) 10 block TMSCP tape, mt(4) Character devices 0 console terminal, console(4) 1 DZ11 serial interface 2 VAX-11/750 console tape 3 memory, null device, mem, null(4) 4 raw MASSBUS SMD disk 5 TE16 tape, mt(4) 7 interleaved swap devices, drum(4) 8 VAX-11/780 console floppy 12 raw VAX 8550 console disk 13 raw UNIBUS SMD disk 14 DEBNA Ethernet controller, ethernet(4) 17 DR11-C Datakit interface, dk(4) 22 TU78 tape, mt(4) 26 KMC11-B control interface, kmc(4) 28 raw MSCP disk, ra(4) 31 KMC11-B protocol-support Datakit interface, dk(4) 40 file descriptor device, fd(4) 42 IP protocol endpoints 43 TCP protocol endpoints 44 Interlan NI1010A Ethernet controller, ethernet(4) 50 UDP protocol endpoints 57 DHV11 serial line controller MKNOD(8) MKNOD(8) 58 DEQNA Ethernet controller, ethernet(4) 59 TMSCP tape, mt(4) SEE ALSO mknod(2)