⌘K
Flycodx

File System Internals: Inodes and Directories

File System Internals: Inodes and Directories

MediumOperating System0% accepted

Explain how Linux ext4 file system works: inodes, directory entries, hard links vs soft links, and how a file path is resolved to disk blocks.

Approach

Explain inodes, hard links, soft links, and file path resolution in Linux.

Input

Create hard link: ln file.txt link.txt

Output

Both filenames share same inode; inode link count = 2; data survives deletion of either

Scenarios & Expected Answers

Sign in to continue

Create a free account to view answers and mark progress.

  • Free forever — no credit card
  • Theory Q&A with detailed answers
  • Points, streaks & leaderboards
Auto Save On