Some libraries specify a library module to the file system permitting analysis should the opening program be unable to perform any meaningful action as a result of a failure. Internal counters of the number of levels of structures, number of inserted objects may be compared against thresholds.
Contains filesystem mount points.
Close may cause dismounting or ejecting removable media and updating library and file system structures to indicate that the object is no longer in use.
There will be many times when you need finer control. They appear in a file system just like an ordinary file or a directory. This type of access is called raw device access.
Used to organize groups of files. It also calls fstat and fadvise64, I think only for performance optimizations. Similar to the open, it must be expected that something may go wrong.