Representation of data on a floppy and hard disk may consistently differ, but representing them in the kernel is almost same. VFS mounts the file system through the function register_filesystem(struct file_system_type *fs) , Example register_filesystem(&ext2_fs_type); Mounting Before a file can be accessed, the file system containing the file should be mounted. Done by the call using mount or function mount_root() Every mounted file system is represented by a super_block structure. The function read_super()of the VFS is used to initialize the superblock Managing the file system Will issue some flags during the mounting like MS_RDONLY //File system is read only MS_REMOUNT //flags have been changed Superblock Operations Super block provides functions needed to access the file system and its processing. Some of the operation includes read_inode();// must execute and Responsible for filling th...
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc