Quiz 10 Flashcards
Which of the following are not a category in “ordinary files”
Document files
IPC files
Application-specific files
Device files
Program source-code files
System-Configuration files
Document
Application specific
Program Source code
What are “swap files”?
The swap files are the files the long-term and the medium-term process schedulers in an
operating system creates for holding the processes that are kicked out of the memory in the
short-term process scheduler.
What are “device files”?
The device files are those operating systems create for I/O devices. For example,
documents being printed by a printer are first stored in a special buffer file. Then the
documents are sent to a printer from the buffer file (since printers are usually much slower
than processors). Another example is for a network card.
Explain how IPC files are used (one example).
IPC files ae files for implementing some IPC (inter-process-communication). For example,
message queues (those we covered in Project #1) are implemented as “IPC files”. Data
sent to a message queue is stored in an IPC file. Data removed from a message queue is
extracted from an IPC file. Another IPC, “pipe” is implemented as a file (“IPC file”) in the
same way.
How many copies of FAT table are created (and maintained) by FAT-16 file system?
Explain what that particular number of copies are create.
There should be three copies of FAT table. If there are two copies of FAT tables, it’s hard
to tell which copy is intact, if one of them is corrupt. If there are three copies, finding a
corrupt copy is easy if there are three copies of FAT tables.
What does “MBR” stand for? What does MBR contain?
MBR stands for Master Boot Record
Partition Table and Boot Strap Loader
Why is physically damaging “the MBR sector (sector 0, track0, surface 0, and disc 0)” of a
disk fatal?
If we physically damage MBR It disables the partition table the PC can no longer recognize any partition on the hard drive the only way to recover it download special tool to access the petitions.
What is “partition table” of a disk drive? What information does the partition table
contain? What will happen if the partition table fails (corrupt)?
A Data structure as a table who keeps track of how many partitions you have on hard drive the size of each where it starts and ends and does it have any active OS installed
What is “the boot block” in a disk partition? What information does the boot block
contain?
IPL and OS Loader
It contains a program that loads operating system to the memory and initialize the OS before the human user can start using it.
Boot block needs to know where the OS itself is saved in a particular partition