Skip to main content
rashid lab
CAPTCHA
Image CAPTCHA
Get new captcha!
Enter the characters shown in the image.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Main navigation

  • Home
  • About Us
  • Knowledge Base
    • Never Stop Learning!
    • Safer Internet
    • Vulnerabilities
  • Contact
CAPTCHA
Image CAPTCHA
Get new captcha!
Enter the characters shown in the image.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
User account menu
  • Log in

Breadcrumb

  1. Home

How Linux Represents Storage Devices

By rashid, 6 August, 2022

Linux uses logical labels for drives that are then mounted on the filesystem. These logical labels will vary depending on where the drives are mounted, meaning the same hard drive might have different labels at different times, depending on where and when it’s mounted.

When systems have more than one hard drive, Linux simply names them serially by incrementing the last letter in alphabetical order, so the first drive is sda, and the second drive is sdb, the third drive is sdc, and so on.

  • sda -- First SATA hard drive
  • sdb -- Second SATA hard drive
  • sdc -- Third SATA hard drive
  • sdd -- Fourth SATA hard drive

Partition Labeling System

  • sdal -- The first partition (1) on the first (a) SATA drive
  • sda2 -- The second (2) partition on the first (a) drive
  • sda3 -- The third (3) partition on the first (a) drive
  • sda4 -- The fourth (4) partition on the first (a) drive

To see which ones you have and how much capacity is available in each. You can do this by using the fdisk utility. Using the -l switch with fdisk lists all the partitions of all the drives,

kali >fdisk -l

Tags

  • Linux
  • Log in to post comments

Comments


Never Stop Learning

RSS feed