What actually goes on into a hard disk when a folder is created?

519 views

Saving files (like images or documents) writes a sequence of bits in the disk and, somehow, assign those bits to a path. But what happens when a single folder with no content is created? how is it saved in the disk?

In: Technology

2 Answers

Anonymous 0 Comments

With most file systems, it just updates the index (usually that’s at the “front” of the hard disk).

So the index will say “there’s a folder called XYZ in this path” but if you ask the index what’s in that folder it’ll say “nothing”. In the storage area of the disk, there will be no change.

The folder only “exists” in the index, it’s not a thing in the storage area.

You are viewing 1 out of 2 answers, click here to view all answers.