← 返回命令列表

Linux command

MAKEDEV 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create standard devices

MAKEDEV std

Create specific device

MAKEDEV [sda]

Create all devices

MAKEDEV generic

Create console devices

MAKEDEV console

Create tty devices

MAKEDEV tty

说明

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.

参数

std
Standard devices.
generic
Generic device set.
console
Console devices.
-d _DIR_
Device directory.
--help
Display help information.

FAQ

What is the MAKEDEV command used for?

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.

How do I run a basic MAKEDEV example?

Run `MAKEDEV std` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does std do in MAKEDEV?

Standard devices.