Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #49
Difficulty: Easy
A USB hard drive is considered to be a primary storage device for personal computers.
True or False?
Linux & Unix Commands - Search Man Pages

makedev(8) [bsd man page]

MAKEDEV(8)						      System Manager's Manual							MAKEDEV(8)

NAME
makedev - make system special files SYNOPSIS
/dev/MAKEDEV device... DESCRIPTION
MAKEDEV is a shell script normally used to install special files. It resides in the /dev directory, as this is the normal location of spe- cial files. Arguments to MAKEDEV are usually of the form device-name? where device-name is one of the supported devices listed in section 4 of the manual and ``?'' is a logical unit number (0-9). A few special arguments create assorted collections of devices and are listed below. std Create the standard devices for the system; e.g. /dev/console, /dev/tty. The VAX-11/780 console floppy device, /dev/floppy, and VAX-11/750 and VAX-11/730 console cassette device(s), /dev/tu?, are also created with this entry. local Create those devices specific to the local site. This request causes the shell file /dev/MAKEDEV.local to be executed. Site spe- cific commands, such as those used to setup dialup lines as ``ttyd?'' should be included in this file. Since all devices are created using mknod(8), this shell script is useful only to the super-user. DIAGNOSTICS
Either self-explanatory, or generated by one of the programs called from the script. Use ``sh -x MAKEDEV'' in case of trouble. SEE ALSO
intro(4), config(8), mknod(8) 4.2 Berkeley Distribution May 19, 1986 MAKEDEV(8)

Check Out this Related Man Page

lat_manual_setup(7)					 Miscellaneous Information Manual				       lat_manual_setup(7)

NAME
lat_manual_setup - Describes how to manually set up the Local Area Transport (LAT) DESCRIPTION
To run LAT on your system, you must configure LAT in your system's kernel (see the Network Administration manual). Optionally, you can customize your LAT setup. The customization section of the Network Administration manual includes information on gen- eral customization, setting up printers, host-initiated connections, the LAT/Telnet gateway, and creating your own service. For more information on customizing LAT, see the Network Administration manual. Setting Up LAT To set up LAT on your system manually, you must first configure your kernel for LAT (see the Network Administration manual). Then log in as superuser and perform the following steps: Create the LAT device special files. LAT supports SVR4-style and BSD-style devices. You should use SVR4-style devices. See the Network Administration manual for more information. You should use the latsetup utility to create SVR4-style devices to ensure that duplicate minor numbers are not used. You can use the mknod command to create character devices with a major number of 5. If you create SVR4 devices manually, you should observe the following rules: Start the SVR4 device numbers at /dev/lat/620. This avoids overlapping minor numbers from the BSD tty name space. Make the minor number of the SVR4 device the same as the name. For example, device /dev/lat/833 should have minor num- ber 833. The following command would create the SVR4-style LAT device /dev/lat/833: # /usr/sbin/mknod /dev/lat/833 c 5 833 Once you have created the SVR4-style device, check the permissions of the device to make sure they are what you desire. You can create BSD-style devices by running the /dev/MAKEDEV script with the LAT option. The syntax for the MAKEDEV command with the LAT option is as follows: MAKEDEV latN The N variable can be 0 to 38. The /dev/MAKEDEV script creates one BSD-style LAT device special file for each LAT terminal device. When you run the MAKEDEV script, it creates 16 BSD-style LAT device special files, and creates the LAT control device (/dev/streams/lat), if it has not already been created. The MAKEDEV script requires 16 contiguous LAT device special files to be available. (Specifying lat38 requires only 12 contiguous LAT device special files to be available.) For example, the following commands create a total of 32 BSD-style LAT device special files: # cd /dev # MAKEDEV lat0 # MAKEDEV lat1 Record the device special file information displayed by the MAKEDEV script. The special file names vary depending on the number of terminal devices already configured. The following is sample output from the MAKEDEV command: MAKEDEV: special file(s) for lat1: tty16 tty17 tty18 tty19 tty1a tty1b tty1c tty1d tty1e tty1f tty1g tty1h tty1i tty1j tty1k tty1l Edit the /etc/inittab file to include entries for the LAT device special files you created. For example: lat620:34:respawn:/usr/sbin/getty /dev/lat/620 console vt100 lat621:34:respawn:/usr/sbin/getty lat/621 console vt100 lat630:34:respawn:/usr/sbin/lattelnet lat/630 lattelnet The second field (34) specifies the run levels at which the LAT devices are spawned; in this example, the getty process is spawned at either run level 3 or 4. The first entry uses an absolute pathname for the device (/dev/lat/620). The second uses a relative pathname (lat/621). The previous example shows how to add entries to the /etc/inittab file for SVR4 LAT devices. The following example shows entries for BSD LAT devices: lat16:34:respawn:/usr/sbin/getty tty16 console vt100 lat17:34:respawn:/usr/sbin/getty tty17 console vt100 lat18:34:respawn:/usr/sbin/lattelnet tty18 lattelnet18 For more information, see the inittab(4) and getty(8) reference pages. The Network Administration manual provides additional information on SVR4 and BSD devices. Use the following command to spawn the pro- cesses for the LAT device special files that you added to the /etc/inittab file: # /sbin/init q Create the STREAMS special file required by LAT by issuing the following command: # /usr/sbin/strsetup -i Enable LAT automatic startup and shutdown by using the following command: # /usr/sbin/rcmgr set LAT_SETUP 1 When LAT automatic startup and shutdown is enabled, the /sbin/init.d/lat file automatically starts LAT upon reaching run level 3 and automatically stops LAT when exiting run level 3. Start LAT by issuing the following command: # /usr/sbin/latcp -s RELATED INFORMATION
Commands: llogin(1), netstat(1), getty(8), init(8), latcp(8), latsetup(8), MAKEDEV(8), mknod(8), rcmgr(8), strsetup(8). Files: inittab(4). Introduction: lat_intro(7). Network Administration , System Administration delim off lat_manual_setup(7)

Featured Tech Videos