When Operating system recognise the file types It has several advantages like 1. avoid mistakes like trying to print a object file that produce garbage output

but I can't think about disadvantages of an OS that recognise file systems Anybody has an idea ?

  • 1
    $\begingroup$ I'm not sure this is really a computer science question. What does the community think? $\endgroup$ – David Richerby Apr 12 '15 at 13:39
  • $\begingroup$ Also, displaying the contents of a file seems to be something an application would do, not an operating system. $\endgroup$ – David Richerby Apr 12 '15 at 13:40
  • $\begingroup$ This is a question from my CS-OS class. actually here they are mentioning about old operating systems. OSs that are recognise extensions out of the box and OSs doesn't recognise extensions. I can't imagine any disadvantage of recognising file extensions $\endgroup$ – Poorna Apr 12 '15 at 13:54
  • 1
    $\begingroup$ Being included in a CS degree doesn't guarantee being on-topic here: for example, every CS degree I know of has programming courses but we don't take questions about those here. $\endgroup$ – David Richerby Apr 12 '15 at 14:11
  • 1
    $\begingroup$ I agree with @DavidRicherby; this seems to be an issue of practical implementation, not concepts. That said, it seems to violate software engineering principles, at least separation of concerns. (I don't know that any useful OS I've used cares about semantics of file names or contents.) $\endgroup$ – Raphael Apr 12 '15 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.