Creating devices

Creating devices

Note: the MAKEDEV.bz2 file you have unpacked is not an archive, so it won't create a directory for you to cd into.

Create the device files by running the following commands:


chmod 755 MAKEDEV &&
cp MAKEDEV /dev &&
cd /dev &&
./MAKEDEV -v generic

MAKEDEV will create hda[1-20] and hdb[1-20] and such but keep in mind that you may not be able to use all of those devices due to kernel limitations regarding the max. number of partitions.

Command explanations

./MAKEDEV -v generic: This creates generic devices. Normally, these devices are all devices you need. It's possible that you are missing some special devices that are needed for your hardware configuration. Create them with ./MAKEDEV -v <device>.

Contents

The MAKEDEV package contains the MAKEDEV script.

Description

MAKEDEV is a script that can help in creating the necessary static device files that usually reside in the /dev directory.