First page Back Continue Last page Overview Graphics
The Virtual File System (2)
When a process accesses a regular file, VFS uses the default file operations of the filesystem that contains the file, for instance Ext2 default file operations
When a process accesses a device file, VFS uses the def_blk_fops or the def_chr_fops table of file operations
The device's major number is used to index one of such table and to retrieve the proper file operations