Creating devices (Makedev-1.7)

Estimated build time:           0.1 SBU
Estimated required disk space:  50 KB

Contents of MAKEDEV

(Last checked against version 1.5.)

The MAKEDEV script creates the static device nodes which usually reside in the /dev directory. Detailed information about device nodes may be found in the Documentation/devices.txt file under the Linux kernel source tree.

MAKEDEV installs the following:

MAKEDEV Installation Dependencies

(Last checked against version 1.5.)

Bash: sh
Coreutils: chmod, chown, cp, expr, id, ln, mknod, mv, rm
Grep: grep

Creating devices

Please note that unpacking the MAKEDEV-1.7.bz2 file doesn't create a directory for you to cd into, as the file contains one shell script.

Install the MAKEDEV script:

bzcat MAKEDEV-1.7.bz2 > /dev/MAKEDEV
chmod 754 /dev/MAKEDEV

Run the script to create the device files:

cd /dev
./MAKEDEV -v generic-nopty

If a device you need is missing, try running ./MAKEDEV -v <device>. Alternatively, you may create devices via the mknod program. Please refer to the man and info pages of mknod if you need more information.