Announcement

Collapse
No announcement yet.

Hard drive's partition?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hard drive's partition?

    This question may already have been asked and answered, but I have no idea how to search for it. I'm wondering whether there is an easy way (that I doubtless overlooked) to tell in what partition a particular drive that shows up in Dolphin is on. For example, my device list in Dolphin shows three drives. I know that the drive containing the OS is in sda. But the other internal (and external) drives I have are a bit of a mystery in that respect.

    I could figure it out by the brute-force method, detaching one at a time and running qparted each time to see which partition disappears, but I'm hoping there is an easier way. If there's an even harder way, I'll find it; just give me a little time.
    Thanks.

    #2
    Open a terminal. Type in the following command:


    Code:
    sudo lsblk
    You'll get a nice read out:
    Code:
    sudo lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0   477G  0 disk 
    ├─sda2   8:2    0     4G  0 part [SWAP]
    ├─sda3   8:3    0 419.1G  0 part /home
    └─sda1   8:1    0   512M  0 part /boot/efi

    Comment


      #3
      Code:
      sudo lsblk
      Thanks! Much appreciated

      Comment


        #4
        AFAIK, you don't need sudo to run lsblk.

        Please Read Me

        Comment


          #5
          Also, lsblk has a lot of options. Try this one:

          lsblk -fl --sort NAME

          Please Read Me

          Comment

          Working...
          X