Blockdev: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux =Overview= =Get Block Size for a Certain Device= block size can be used to obtain the block size the kernel uses when accessing a spe...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=External=
=Internal=
=Internal=


Line 7: 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