Quote:
Originally Posted by
Legend986
The reason I was wondering is because there are so many file operations defined that open seemed to be that "i cannot live without it" like functions to me.
You could narrow it down and say what are the things that open operates on and how are they implemented.
1. files - by the file system
2. devices, by each driver
3. remote files - by the NFS file system
So you can actually see that 3 falls under 1. Say count the different file system types, files, directories, fifos, sockets, symbolic links, etc, what does open do in each case?
Then you could determine there is a common core of functionality but the majority would be implemented by a driver, module or subsystem.