Blockdev: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 9: Line 9:
=Get Block Size for a Certain Device=
=Get Block Size for a Certain Device=


block size can be used to obtain the block size the kernel uses when accessing a specific device:
blocksize can be used to obtain the [[Linux_7_Storage_Concepts#Block|block]] size the kernel uses when accessing a specific device:


  blockdev --getbsz /dev/sda2
  blockdev --getbsz /dev/sda2

Latest revision as of 20:43, 19 January 2018

External

Internal

Overview

Get Block Size for a Certain Device

blocksize can be used to obtain the block size the kernel uses when accessing a specific device:

blockdev --getbsz /dev/sda2