Linux special devices

Source: Internet
Author: User

In general,

Block devices: are devices that store or hold data

Character devices: can be thought of as devices that transmit or transfer data.

For example, diskette drives, hard drives and CD-ROM drives are all Block devices while serial ports, mice and parallel printer ports are all character devices.


/Dev/ttys0 (first communications port, COM1)

First serial port (mice, modems ).

/Dev/psaux (PS/2)

PS/2 mouse connection (mice, keyboards ).

/Dev/lp0 (first printer port, LPT1)

First parallel port (printers, scanners, etc ).

/Dev/DSP (first audio device)

The name DSP comes from the term digital signal processor, a specialized processor chip optimized for Digital Signal Analysis. sound cards may use a dedicated DSP chip, or may implement the functions with a number of discrete
Devices. Other terms that may be used for this device are digitized voice and PCM.

/Dev/USB (USB devices)

This subdirectory contains most of the USB device nodes. device name allocations are fairly simplistic so no elaboration is be necessary.

/Dev/SDA (C: \, SCSI device)

First SCSI device (HDD, memory sticks, external mass storage devices such as CD-ROM drives on laptops, etc ).


/Dev/SCD (D: \, SCSI CD-ROM device)

First SCSI CD-ROM device.

/Dev/js0 (Standard gameport joystick)

First joystick device.

Devices are defined by type, such as 'block' or 'character ', and 'major' and 'minor' number. the major number is used to categorize a device and the minor number is used to identify
A specific device type.

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.