S
S
Sane Barbarian2017-05-12 21:00:58
linux
Sane Barbarian, 2017-05-12 21:00:58

How are Inodes related to files in Linux?

Article:

spoiler
https://www.kv.by/content/320700-chto-takoe-inodes...

The inode contains neither the file creation timestamp nor its name. These are the directory table attributes.

Okay, does the inode contain all the data about the file except for its name and the mythical timestamp? What is it if all the methods associated with the time of the file (creation, modification, etc.) are located in the node itself.
What kind of ***** Directory Table?? No matter how much I googled, I only found that it refers to the Fat32 file system on Windows.
I only know Inode Table and Inode Bitmap.
the corresponding inode number is determined by the file name in the directory table,
the Inode table is accessed by the inode number and the metadata is read,
work with the file is started, if possible.

Where is this table located? How do we determine the inode number? Is all this true or some kind of game?
Please tell us in more detail how the files, for example /home/xyz/ file1.txt rock.mp3 site.html are connected
with their inodes and what happens in the FS when I access them.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
chupasaurus, 2017-05-12
@SaneBarbarian

You are reading some rubbish. There are no directory tables in Unix-like OSes (instead of them there are trees in which directories refer to directories), since directories themselves are files.
Wiki article in English, translation into Russian for some reason without links.

P
pfg21, 2017-05-12
@pfg21

Anatomy of a Linux file system from IBM
is an old article from 2007, but with inserts of structures. short and very to the point.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question