What is an 'inode' in a Unix-like file system? What kind of information does it store and what does it not store?
Last updated
An inode (index node) is the on-disk structure representing a file itself, identified by an inode number, one per file.
It stores type and permissions, owner UID/GID, size, timestamps (
atime,mtime,ctime), link count, and direct/indirect pointers to data blocks.It does NOT store the file name (kept in directory entries mapping name to inode number) or the contents. This lets multiple hard links share one inode, and the file is deleted only when the link count hits zero.
- https://www.reddit.com/r/cscareeradvice/new/
- https://www.reddit.com/r/macbook/comments/1jg7fl6/24gb_ram_enough_for_software_engineering/
- https://www.reddit.com/r/infosys/comments/1t71add/anyone_received_round_2_mails/
- https://www.reddit.com/r/cscareeradvice/best/
- https://www.reddit.com/r/LeetcodeChallenge/
- https://www.reddit.com/r/infosys/comments/1t71i55/infosys_specialist_programmer_april_26_1st_round/
- https://www.reddit.com/r/programming/comments/1hqo19u/static_search_trees_40x_faster_than_binary_search/
- https://medium.com/@avinashkumar808482/operating-system-interview-questions-2026-0db6b4674980
- https://lmskkhsou.in/eservices/e-Resources/Resources/NEP%20Syllabus%202024/core/BCA_Syllabus.pdf
- https://growthequityinterviewguide.com/firms/b-capital
- https://www.interviewbit.com/sre-interview-questions/