Linux - Device (Disk, CDROM, )

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.

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
...........................

Documentation / Reference





Discover More
File System Hierarchy Standard (FHS)

The Filesystem Hierarchy Standard (FHS) is a collaborative document that defines the names and locations of many...
Linux - /dev directory

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...
Linux - Disk (storage devices)

in Linux. It contains partitions that contains file system that are mounted to be made available to the OS. A disk name is the following syntax without the Partition number but to understand the...
Linux - Mounting File Systems (CDROM, NFS, SMB, )

All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file...
Linux - sysfs file system

sysfs is a new filesystem to the 2.6 kernels. It is managed by the kernel, and exports basic information the devices currently plugged into your system. udev can use this information to create device...
Linux - udev (rules file)

The original /dev directories were just populated with every device that might possibly appear in the system. /dev directories were typically very large because of this. udev manages the /dev directories,...



Share this page:
Follow us:
Task Runner