Linux Special Devices

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.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值