LinuxCommandLibrary

MAKEDEV

creates device files in /dev

TLDR

Create standard devices

$ MAKEDEV std
copy
Create specific device
$ MAKEDEV [sda]
copy
Create all devices
$ MAKEDEV generic
copy
Create console devices
$ MAKEDEV console
copy
Create tty devices
$ MAKEDEV tty
copy

SYNOPSIS

MAKEDEV [options] device

DESCRIPTION

MAKEDEV creates device files in /dev. It sets up device nodes with correct permissions and types.
The tool is largely obsolete with udev. Used in static /dev setups or initial ramdisks.

PARAMETERS

DEVICE

Device name or group.
std
Standard devices.
generic
Generic device set.
console
Console devices.
-d DIR
Device directory.
--help
Display help information.

CAVEATS

Obsolete with udev/devtmpfs. Requires root. Static device creation only.

HISTORY

MAKEDEV was the traditional way to create device files before udev automated device management.

SEE ALSO

mknod(1), udev(7), udevadm(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community