Linux - Device (Disk, CDROM, ...)

> Operating System - Kernel (Windows, Unix, Linux) > Linux / Unix

1 - About

Computer - Device management in Linux.

As with all Linux-like operating systems, Red Hat Linux uses device files to access all hardware (including disk drives, cdrom).

However, the naming conventions for attached storage devices varies somewhat between various Linux and Linux-like implementations. Here is how these device files are named under Red Hat Linux.

On typical Linux-based systems, the /dev directory is used to store file-like device nodes which refer to certain devices in the system. Each node points to a part of the system (a device), which might or might not exist.

Advertising

3 - Device Files

Under Red Hat Linux, the device files appear in the /dev/ directory.

[root@ebs121 dev]# ls /dev/
agpgart    floppy-fd0  null      ram4      tty1   tty30  tty51    vcs1
cdrom      full        nvram     ram5      tty10  tty31  tty52    vcs2
cdrom-hdc  gpmctl      oldmem    ram6      tty11  tty32  tty53    vcs3
console    hdc         par0      ram7      tty12  tty33  tty54    vcs4
core       hpet        parport0  ram8      tty13  tty34  tty55    vcs5
disk       initctl     parport1  ram9      tty14  tty35  tty56    vcs6
fd         input       parport2  ramdisk   tty15  tty36  tty57    vcs7
...........................

4 - Documentation / Reference

os/linux/device.txt · Last modified: 2018/12/27 19:49 by gerardnico