Linux common commands-88: MAKEDEV

The MAKEDEV command is mainly used to create devices under /dev , through which the drivers located in the kernel can be accessed. That’s right, it’s all caps, and executing it requires root privileges.

Syntax format: MAKEDEV [parameter]

Common parameters:

Example

 # 创建设备cd /dev sudo MAKEDEV sdc

 # 删除MAKEDEV -d sdc

This article is reprinted from https://xugaoxiang.com/2022/07/26/linux-cmds-88-makedev/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.