Linux From Scratch
Prev | Chapter 6. Installing basic system software | Next

# Installing Makedev

## Installation of MAKEDEV

Create the device files by running the following commands:

> `cd /dev &&`
> `./MAKEDEV-temp -v generic &&`
> `rm MAKEDEV-temp`

The "generic" parameter passed to the MAKEDEV script doesn't create all the devices you might need, such as audio devices, hdc, hdd and ohters. If you seem to be missing something tell MAKEDEV to create it. To create hdc replace generic with hdc. You can also add hdc to generic, so you would execute `./MAKEDEV -v generic hdc` to create the generic set of devices files, plus the files you need to be able to access hdc (and hdc1, hdc2, etc)

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-temp -v generic` This creates the device files.

## Contents

The MAKEDEV package contains the MAKEDEV script.

## Description

MAKEDEV is a script that can aid you in creating the necesarry static device files that usually reside in the /dev directory.

Prev | Home | Next
Entering the chroot'ed environment | Up | Installing Glibc