Keyboard shortcuts

/ or ⌘/Ctrl K
Find a note
j / k
Next / previous section or linked note
h / l
Collapse or go to parent / expand or enter
e or Alt-click
Read a linked note here
o
Open focused note on its own
g g / G
First / last section or linked note
g h / g a
Home / all notes
g b / g t
Backlinks / table of contents
t
Cycle System, Light, Dark
? / Esc
Show / close this reference

Search: ↑/↓ or Ctrl N/P, Enter to open. Shortcuts pause while typing.

inodes [bfc38046]

Tags: linux

1. What is an inode?

A way to address a group of blocks on disk, each inode contains some metadata, but does not include the name.

Each name can either be a hard link or a symlink. The inode keeps track of how many hard links there are to it. If there are 0 hard links, the inode is slated to be overwritten in the future.

blocks [1,2,3,4] <- inode <- hardlink <- symlink

This can be examined in ext4 with debugfs

Links from this note 1