Announcement

Collapse
No announcement yet.

How can I know which format has my extern Harddrive please?

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

    How can I know which format has my extern Harddrive please?

    Hello everybody,
    Could someone write me how I can know which format has my extern HardDisc (NTFS, FAT, ...)? :-)

    #2
    Just launch Partition Manager and look at the drive.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      sudo parted /dev/sdX -l
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Here's another way to do this: df -hT

        The second column gives the file system format: vfat = FAT32 usually. For external hard disks it will usually be ntfs.
        Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
        Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.

        Comment


          #5
          Two more GUI ways to tell at a glance would be "KDE Partition Manager" and "Disks", both available in Discover.
          ​"Keep it between the ditches"
          K*Digest Blog
          K*Digest on Twitter

          Comment


            #6
            df -hT only gives info on mounted drives.

            sudo fdisk -l
            gives info on all disks, mounted or not.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Originally posted by GreyGeek View Post
              df -hT only gives info on mounted drives.

              sudo fdisk -l
              gives info on all disks, mounted or not.
              However, I'm not seeing the partition format when running that command, unless I somehow missed it. That's what the O.P. was looking for.
              ​"Keep it between the ditches"
              K*Digest Blog
              K*Digest on Twitter

              Comment


                #8
                Code:
                lsblk -f
                (will list file systems on all connected block devices, whether mounted or not)

                You can also use the file command to get detailed information on a particular device:
                Code:
                sudo file -s /dev/sda1
                Last edited by kubicle; Aug 03, 2017, 11:06 PM.

                Comment


                  #9
                  delighted

                  Thank you very much Snowhog, Greygeek, Rod J, dequire & kubicle :-)

                  Comment


                    #10
                    Originally posted by dequire View Post
                    However, I'm not seeing the partition format when running that command, unless I somehow missed it. That's what the O.P. was looking for.
                    mmm... I read it to mean that he was looking for the type of OS on the device
                    Originally posted by nicrnicr View Post
                    Hello everybody,
                    Could someone write me how I can know which format has my extern HardDisc (NTFS, FAT, ...)? :-)
                    .
                    "Partition" was only mentioned by subsequent posters.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      I stand corrected
                      ​"Keep it between the ditches"
                      K*Digest Blog
                      K*Digest on Twitter

                      Comment


                        #12
                        Originally posted by kubicle View Post
                        Code:
                        lsblk -f
                        (will list file systems on all connected block devices, whether mounted or not)
                        Didn't know this one, thank Kub

                        aliased...

                        Please Read Me

                        Comment

                        Working...
                        X