File management in Unix Interview questions

Total available count: 13
Subject - Operating System
Subsubject - File management in Unix

How does the inode map to data block of a file?

Inode has 13 block addresses.

The first 10 are direct block addresses of the first 10 data blocks in the file.

The 11th address points to a one-level index block.

The 12th address points to a two-level (double in-direction) index block.

The 13th address points to a three-level(triple in-direction)index block.

This provides a very large maximum file size with efficient access to large files, but also small files are accessed directly in one disk read.

Next 5 interview question(s)

Discuss the mount and unmount system calls?
How do you create special files like named pipes and device files?
What is a FIFO?
What are links and symbolic links in UNIX file system?
How do you change File Access Permissions?