Why do systems stay track of the type of a file, Operating System

Assignment Help:

Q. Why do some systems stay track of the type of a file while others leave it to the user or simply don't implement multiple file types? Which system is "better?"

Answer: A few systems permit different file operations based on the type of the file (for instance an ascii file can be read as a stream while a database file is able to be read via an index to a block). Erstwhile systems leave such interpretation of a file's data to the process and provide no help in accessing the data. The process that is better depends on the needs of the processes on the system and the demands the users place on the operating system. If a system runs mainly database applications it may be more efficient for the operating system to implement a database type file as well as provide operations rather than making each program implement the same thing (possibly in different ways). For common purpose systems it may be better to only implement basic file types to keep the operating system size smaller and permit maximum freedom to the processes on the system.


Related Discussions:- Why do systems stay track of the type of a file

Operating system.., What is the use of FIFOs in client-server applications

What is the use of FIFOs in client-server applications

Comparing, Compare 2 different operating systems.

Compare 2 different operating systems.

What is belady anomaly, What is Belady's anomaly When plotting on a g...

What is Belady's anomaly When plotting on a graph the page faults versus the number of available frames. We notice that the number of faults for four frames is greater than th

Define thrashing, Define thrashing. Thrashing is the accident of high p...

Define thrashing. Thrashing is the accident of high page traffic and low CPU utilization. It is observed that the cause of thrashing is an under-commitment of memory to program

Define the dosexit function used in the os/2, Define the DosExit Function u...

Define the DosExit Function used in the OS/2 DosExit(action, resultCode)  DosExit function is to be called when a thread or process is finished executing. If EXIT_THREAD is

Define state that process must obtain all resources it needs, Before procee...

Before proceeding with its execution, every process must obtain all the resources it needs is called Hold and wait

How can an index file be used to speed up, How can an index file be used to...

How can an index file be used to speed up the access in direct-access files? Have an index in memory; the index gives the key and the disk location of its corresponding record.

Write a note on deadlocks, Write a note on deadlocks. The proper defini...

Write a note on deadlocks. The proper definition of deadlock A set of processes is deadlocked if every process in the set is waiting for an event that only a proces

Define abbreviation of sstf, SSTF stands for Abbreviation of SSTF is S...

SSTF stands for Abbreviation of SSTF is Shortest-Seek-time-first scheduling

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd