Multiple choice

Which of the following is used to write disk block images from memory to disk?

  1. clri

  2. sync

  3. mkfs

  4. stty

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Sync keeps all the information in the core memory that should be on disk to be written out. This contains modified i-nodes, modified super blocks and delayed input output block.This should be used by programs which examine the file system. It is mandatory before a boot Synopsis:sync()