Home  >  Article  >  Operation and Maintenance  >  What does dev mean in linux

What does dev mean in linux

藏色散人
藏色散人Original
2023-04-21 11:11:173747browse

dev in linux is the abbreviation of device, which means "device". Linux regards each piece of hardware as a file, so it is written as /dev/sda1. Device files are generally stored in "/ dev" directory, the "/dev" directory is very important to all users, because this directory contains all external devices used in Linux systems.

What does dev mean in linux

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

The meaning of dev in Linux system

dev is the abbreviation of device, which means "device". Linux treats each piece of hardware as a file, so it is written as /dev/sda1.

dev is the English abbreviation of device. The /dev directory is very important to all users. Because this directory contains all external devices used in Linux systems. But the drivers for external devices are not placed here, which is different from Windows and DOS operating systems. It is actually a port to access these external devices. We can access these external devices very conveniently, and there is no difference from accessing a file or a directory. Linux follows the Unix style and recognizes all devices as one file.

Device files are generally stored in the /dev directory. Common device files are described as follows:

  • /dev/hd[a-t]: IDE device

  • /dev/sd[a-z]: SCSI devices and SATA devices

  • ##/dev/fd[0-7]: Standard floppy drive

  • /dev/md[0-31]: soft raid device

  • /dev/loop[0-7]: local loopback device

  • /dev/ram[0-15]: Memory

The last number represents the disk partition.

So /dev/sda3 represents the third partition of the first SATA interface hard disk.

Extended reading

Linux, the full name is GNU/Linux, is a UNIX-like operating system that is free to use and freely disseminated. Its kernel was designed by Linus Benner First released by Dick Torvalds on October 5, 1991, it is mainly inspired by the ideas of Minix and Unix. It is a POSIX-based multi-user, multi-tasking operating system that supports multi-threading and multi-CPU. It supports 32-bit and 64-bit hardware and can run major Unix software tools, applications and network protocols.

Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance. There are hundreds of different Linux distributions, such as Debian and Archlinux based on community development, and Red Hat Enterprise Linux, SUSE, Oracle Linux, etc. based on commercial development.

Recommended learning: "

linux video tutorial"

The above is the detailed content of What does dev mean in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is linux inet addrNext article:What is linux inet addr