What are the different file operations?
- Create: - Space for the file in the file system update directory table.
- Write: - file name and data to be written is passed into the kernel and it write pointer points to the next possible location to which we can write.
- Read:-file name is passed to the kernel and Read pointer points to the current position.
- Delete a file:-kernel checks in the directory as well as removes the file from there.
- Truncation: - Erase (remove) the content of the file.