/Dev and/sys/devices

Source: Internet
Author: User

 

/Dev: the directory where device files are stored. Applications can read and write these files to access the actual devices;


The/sys/devices directory is organized into hierarchies based on the Bus Type mounted to the device and stores all the devices in the system. It is the most important directory structure for file system management devices;

This is the hierarchical directory structure of kernel devices by bus type. All devices in devices are connected to a certain bus.

Find the symbolic link of each specific device, which is also part of the Linux unified device model;


/Sys/Dev has two sub-directories: block and char, which store the primary and secondary numbers of Block devices and character devices in the form of (Major: minor ), it points to

Device.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.