6.6. Creating devices

6.6.1. 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.

6.6.2. 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>.

6.6.3. Contents

The MAKEDEV package contains the MAKEDEV script.

6.6.4. Description

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