blocks to megabytes calculation in unix

  • ramjimh
  • Newbie
  • Newbie
  • ramjimh
  • Posts: 6
  • Loc: madurai

Post 3+ Months Ago

how to calculate the blocks to megabytes in unix.white partitioning the hard disk in unix it shows in blocks can i calculate it into megabytes. for example

with rgds,

  • roca
  • Newbie
  • Newbie
  • roca
  • Posts: 5

Post 3+ Months Ago

Generally a linux hard drive blocks are 1Kbytes blocks.
But those depends of system architecture, filesystem, how was made filesystem and unix like system you are using...

1MB = 1KB*1024 => 1MB = 1024 blocks.

but take a look of "man mke2fs" if you are using linux with ext2 or ext3 filesystem.

Regards, roca.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 29 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.