Difference between pages and blocks

What is page

  1. Pages are basically a virtual block
  2. Pages have fixed size, while block doesn't(dependent on device)

What is block

  1. A block is the smallest unit of data that an OS can read/write to disk

Note

  1. Different device support different block size
  2. Pages at as the middle layer between OS and device
  3. OS translate the pages to the appropriate blocks
posted @ 2015-05-29 23:12  wxwcase  阅读(114)  评论(0编辑  收藏  举报