Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • It would be much easier for people to write a specific answer, if you wrote out a specific sentence with a question mark :-). (You can create followup questions later if needed). blockdev can return three types of block sizes with different values. And grep -H . /sys/class/block/sda/queue/*_{block,io}_size shows the same 4 different types printed by fdisk. Is your question "Why is there a difference between these two commands?" Is it "how can I see the block size used to allocate space on my filesystem?" Are you looking into something different from space allocation? Commented Aug 18, 2018 at 10:56
  • Is your question "What is the difference between the 4 sizes printed by fdisk?" So you can see there's a number of different questions you might have in mind. Commented Aug 18, 2018 at 10:57