Announcement

Collapse
No announcement yet.

How do I convert 'blocks' to GB

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

    How do I convert 'blocks' to GB

    After running fdisk -l and getting my out-put of my drive how do I convert "Blocks" to Gigabytes?
    Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

    #2
    Re: How do I convert 'blocks' to GB

    If you run fdisk -l or fdisk -lu, (and depending on the design and low-level format of your hard drive or SSD), you will see something like this:

    Code:
    Units = sectors of 1 * 512 = 512 bytes
    That is the smallest storage unit that is addressable by your drive. So 1 sector = 512 bytes = 1 block.

    2 blocks = 1024 bytes = 1Kbyte
    2048 blocks = 1,048,576 bytes = 1MB
    2,097,152 blocks = 1,073,741,824 bytes = 1GB

    or so I claim.

    http://en.wikipedia.org/wiki/Cylinder-head-sector

    Comment


      #3
      Re: How do I convert 'blocks' to GB

      thank you very much
      Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

      Comment

      Working...
      X