Find the answer to your Linux question:
Results 1 to 4 of 4
First of all, apologies for this painfully newbie question. I've got this hard drive that I know that is formatted to either ext3 or ext4, but I want to find ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2

    How can I find out the format of an external hard drive?

    First of all, apologies for this painfully newbie question.

    I've got this hard drive that I know that is formatted to either ext3 or ext4, but I want to find out which format it is. I'm unfamiliar with many commands, I tried 'fdisk -l' but it didn't yield any useful information to me. Is there a command wherein I can easily find out the format of disks?

  2. #2
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    There are probably better ways but this works.
    Code:
    [glenn@leonardo ~]$ blkid
    /dev/sda1: UUID="54FCB540FCB51CE4" LABEL="System Reserved" TYPE="ntfs" 
    /dev/sda2: UUID="62D4BE72D4BE47D5" TYPE="ntfs" LABEL="" 
    /dev/sda3: UUID="d555734e-fe8c-4a0e-aff8-3dc3b16188bc" TYPE="ext4" 
    /dev/sda5: LABEL="/" UUID="2cf8eaa5-8862-44a0-a6de-f6673eff7d4f" SEC_TYPE="ext2" TYPE="ext3" 
    /dev/sda6: LABEL="SWAP-sda6" TYPE="swap"
    Glenn
    Powered by Fedora 16 and Arch Linux

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2
    Ah it definitely did. Thank you glennzo!

  4. #4
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    You're welcome. A functional but probably not the most techie way to find out. It gets the job done.
    Glenn
    Powered by Fedora 16 and Arch Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...