|
|
1.1 ! root 1: .TH MKNOD 8 ! 2: .CT 1 sa_nonmortals ! 3: .SH NAME ! 4: mknod \- construct special file ! 5: .SH SYNOPSIS ! 6: .B /etc/mknod ! 7: .I name ! 8: [ ! 9: .B c ! 10: ] ! 11: [ ! 12: .B b ! 13: ] ! 14: .I major ! 15: .I minor ! 16: .SH DESCRIPTION ! 17: .I Mknod ! 18: makes a special file. ! 19: The first argument is the ! 20: .I name ! 21: of the entry. ! 22: The second is ! 23: .B b ! 24: to make a file for a block device, ! 25: .B c ! 26: to make a character device. ! 27: The last two arguments are ! 28: numbers specifying the ! 29: .I major ! 30: device type ! 31: and the ! 32: .I minor ! 33: device (e.g. unit, drive, or line number). ! 34: .PP ! 35: Minor devices are specific to each device driver; ! 36: see the writeups in Section 4. ! 37: The assignment of major device numbers ! 38: varies with the implementation. ! 39: Here are some conventional ones ! 40: in the system used on VAXes: ! 41: .SS "Block devices ! 42: .de DV ! 43: .ie '\\$3''\\$1 \\$2 ! 44: .el\{. ! 45: \\$1 \\$2, ! 46: .IR "\\$3" "(\\$4)" ! 47: \} ! 48: .br ! 49: .. ! 50: .DV 0 "MASSBUS SMD disk" ! 51: .DV 1 "block TE16 tape" mt 4 ! 52: .DV 2 "UNIBUS SMD disk" ! 53: .DV 3 "VAX 8550 console disk" ! 54: .DV 7 "MSCP disk" ra 4 ! 55: .DV 8 "block TU78 tape" mt 4 ! 56: .DV 10 "block TMSCP tape" mt 4 ! 57: .SS "Character devices ! 58: .DV 0 "console terminal" console 4 ! 59: .DV 1 "DZ11 serial interface" ! 60: .DV 2 "VAX-11/750 console tape" ! 61: .DV 3 "memory, null device" "mem, null" 4 ! 62: .DV 4 "raw MASSBUS SMD disk" ! 63: .DV 5 "TE16 tape" mt 4 ! 64: .DV 7 "interleaved swap devices" drum 4 ! 65: .DV 8 "VAX-11/780 console floppy" ! 66: .DV 12 "raw VAX 8550 console disk" ! 67: .DV 13 "raw UNIBUS SMD disk" ! 68: .DV 14 "DEBNA Ethernet controller" ethernet 4 ! 69: .DV 17 "DR11-C Datakit interface" dk 4 ! 70: .DV 22 "TU78 tape" mt 4 ! 71: .DV 26 "KMC11-B control interface" kmc 4 ! 72: .DV 28 "raw MSCP disk" ra 4 ! 73: .DV 31 "KMC11-B protocol-support Datakit interface" dk 4 ! 74: .DV 40 "file descriptor device" fd 4 ! 75: .DV 42 "IP protocol endpoints" ! 76: .DV 43 "TCP protocol endpoints" ! 77: .DV 44 "Interlan NI1010A Ethernet controller" ethernet 4 ! 78: .DV 50 "UDP protocol endpoints" ! 79: .DV 57 "DHV11 serial line controller" ! 80: .DV 58 "DEQNA Ethernet controller" ethernet 4 ! 81: .DV 59 "TMSCP tape" mt 4 ! 82: .SH "SEE ALSO" ! 83: .IR mknod (2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.