Translate

Image of Beginning Google Maps API 3
Image of Linux Kernel Development (3rd Edition)
Image of Operating System Concepts
Image of Modern Operating Systems (3rd Edition)

Find Hard Disks on System

Assuming you have a Linux 2.6 kernel, there are a number of places where you can find information about the hard disks on your computer without using any utilities such as fdisk, gdisk or lshw, or by checking log files. All disks and partitions are listed in /proc/partitions. Each disk also has an entry under /sys/block. Under /dev, you can find disks and partitions by serial number (/dev/disk/by-id/), by UUID (/dev/disk/by-uuid), by filesystem label (/dev/disk/by-label/) or by hardware bus (/dev/disk/by-path/.)