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

What are the operations that can be performed on a directory, What are the ...

What are the operations that can be performed on a directory? The operations that can be performed on a directory are Search for a file Create a file Delete a

NETWORK OPERATING SYSTEM, explain about design issues of network operating ...

explain about design issues of network operating system

How does a program execution take place in multiprogramming?, How does a pr...

How does a program execution take place in multiprogramming? While the processor is dealing with a number of programs, the sequence with which programs are implemented will de

Describe the state when you run an unlink operation, Describe when you run ...

Describe when you run an unlink() operation to remove a file on the ext3 file system. Be specific about what disk blocks have to be written where in what order. State your assumpti

Linux operation system, wat are the commands used for creating the file hie...

wat are the commands used for creating the file hierarchy

What is starvation?, What is starvation? A main problem related to dead...

What is starvation? A main problem related to deadlock is starvation. Starvation is the circumstances where process waits indefinitely within the semaphore. Indefinite blocking

Difference between system calls and procedure calls, The Most comman differ...

The Most comman difference are given below System calls are heavy. While a procedure call can generally be performed in a few system instructions, a system call needs the c

What are the different directory structures, What are the different directo...

What are the different directory structures? Explain each type. There are five dissimilar directory structures: 1.      Single level directory 2.      Two level directory

Explain the concept of mutual exclusion, Question 1: (a) Discuss about...

Question 1: (a) Discuss about the evolution of operating systems from mainframe batch systems to mainframe time sharing systems. (b) Explain your understanding of the "sus

Case studies, Did Abhinav agree to the initial timeline requested by Rebecc...

Did Abhinav agree to the initial timeline requested by Rebecca

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