How can the block count in an inode differ from the (file size / block size) rounded up to
the nearest integer. Can the block count be greater, smaller, or both


Answer:

-Block count frequently differs from file size. File size is the offset of the highest byte written, and is what you commonly notice in files that you deal with everyday. Block count is a count of the number of physical disk blocks that are used by the file. In the example of a sparsely populated file, such as a BitTorrent download of a 700 MB Linux ISO – it uses up '700 MB' on your system at the beginning, long
before the actual 700 MB of the file's contents are actually written to your disk blocks. However, most files are non sparse and disk block usage should be equal to file size. In reality, disk block usage is actually a little higher, as there are additional blocks (metadata, etc) not considered in the file size.
Therefore disk block count can differ in any way from the file size, or even be equal with the right tradeoff between sparsity and additional block usage.


Share To Friends Via:
        






More Questions For Operating Systems:



  Define the word operating system. (Answered)
Define the word operating system. .
Posted On:Tue 16, March 2021 05:50:53 am
  Give two examples of operating systems. (Answered)
Give two examples of operating systems. .
Posted On:Tue 16, March 2021 05:51:47 am
  When IBM released their personal computer, they did not copyright or patent it. What does the word patent mean? (Answered)
When IBM released their personal computer, they did not copyright or patent it. What does the word patent mean? .
Posted On:Tue 16, March 2021 05:53:03 am
  State four functions of Operating System. (Answered)
State four functions of Operating System. .
Posted On:Tue 16, March 2021 05:53:34 am
  Explain the term multi-user Operating System. (Answered)
Explain the term multi-user Operating System. .
Posted On:Tue 16, March 2021 05:54:12 am
  Give two examples of multi-user Operating System. (Answered)
Give two examples of multi-user Operating System. .
Posted On:Tue 16, March 2021 05:54:41 am
  Differentiate between a file and a folder (Answered)
Differentiate between a file and a folder .
Posted On:Tue 16, March 2021 05:55:12 am
  Give three differences between Command Line and Graphical User Interface (GUI) Operating system. (Answered)
Give three differences between Command Line and Graphical User Interface (GUI) Operating system. .
Posted On:Tue 16, March 2021 05:57:24 am
  Define the term patch as used in Operating System. (Answered)
Define the term patch as used in Operating System. .
Posted On:Tue 16, March 2021 05:58:11 am
  State ways of acquiring an Operating System. (Answered)
State ways of acquiring an Operating System. .
Posted On:Tue 16, March 2021 05:58:45 am
  A computer file comprises of file name and a file extension separated by a dot. Explain the function of the file extension. (Answered)
A computer file comprises of file name and a file extension separated by a dot. Explain the function of the file extension. .
Posted On:Tue 16, March 2021 05:59:27 am
  Give two advantages of using graphical user interface Operating System. (Answered)
Give two advantages of using graphical user interface Operating System. .
Posted On:Tue 16, March 2021 06:00:00 am
  Define the following terms as used in Operating System. i)Interrupt: ii)Troubleshoot: (Answered)
Define the following terms as used in Operating System. i)Interrupt: ii)Troubleshoot: .
Posted On:Tue 16, March 2021 06:01:16 am
  A student want to upgrade her operating system. State five factors she should consider. (Answered)
A student want to upgrade her operating system. State five factors she should consider. .
Posted On:Tue 16, March 2021 06:05:41 am
  Which of the following are operating system. a)Windows ME b)LINUX c)Word 2007 d)Microsoft excel e)Windows 7 f)Adobe InDesign (Answered)
Which of the following are operating system. a)Windows ME b)LINUX c)Word 2007 d)Microsoft excel e)Windows 7 f)Adobe InDesign .
Posted On:Tue 16, March 2021 06:06:34 am
  Define the term drive. (Answered)
Define the term drive. .
Posted On:Tue 16, March 2021 06:07:26 am
  Describe a folder (Answered)
Describe a folder .
Posted On:Tue 16, March 2021 06:08:03 am
  State the purpose of the following utility software: (i)Disk formatter: (ii)Device driver: iii)File compression: (Answered)
State the purpose of the following utility software: (i)Disk formatter: (ii)Device driver: iii)File compression: .
Posted On:Tue 16, March 2021 06:09:07 am
  Describe a command line interface. (Answered)
Describe a command line interface. .
Posted On:Tue 16, March 2021 06:09:37 am
  State an application in which command line-interface would be suitable. Justify your choice. (Answered)
State an application in which command line-interface would be suitable. Justify your choice. .
Posted On:Tue 16, March 2021 06:10:21 am
  Describe three features of a file name. (Answered)
Describe three features of a file name. .
Posted On:Tue 16, March 2021 06:10:56 am
  Define the term operating system license. (Answered)
Define the term operating system license. .
Posted On:Tue 16, March 2021 06:11:33 am
  State four ways of identifying illegal copy of an operating system. (Answered)
State four ways of identifying illegal copy of an operating system. .
Posted On:Tue 16, March 2021 06:12:05 am
  Outline the steps that can be followed to adjust the double-click speed of a mouse button. (Answered)
Outline the steps that can be followed to adjust the double-click speed of a mouse button. .
Posted On:Tue 16, March 2021 06:12:34 am
  Give four examples of file extensions and the file types they represent. (Answered)
Give four examples of file extensions and the file types they represent. .
Posted On:Tue 16, March 2021 06:14:04 am
  Differentiate between the use of the copy and cut commands. (Answered)
Differentiate between the use of the copy and cut commands. .
Posted On:Tue 16, March 2021 06:14:47 am
  Name two files attributes. (Answered)
Name two files attributes. .
Posted On:Tue 16, March 2021 06:15:17 am
  Outline the steps for setting a photo as the screen background (Answered)
Outline the steps for setting a photo as the screen background .
Posted On:Tue 16, March 2021 06:15:48 am
  Give four details about a file that is stored by an operating system. (Answered)
Give four details about a file that is stored by an operating system. .
Posted On:Tue 16, March 2021 06:16:19 am
  Give two features of user friendly operating system. (Answered)
Give two features of user friendly operating system. .
Posted On:Tue 16, March 2021 06:17:36 am

More Questions Categories:


About Us

Contact us

Terms of use | Privacy policy

Follow Us:               

All Rights Reserved © 2024; pscustudies.com