Hello, beautiful people in this video we are going to cover file system.
What is a file system?
It is a system used by a computer operating system to manage your files and directories.
The system controls how data is saved or retrieved from your computer hard disk.
Let's compare a computer file system with a simple closet.
Now, looking at this closet, you will see we have our shirts on one section of the closet.
Our accessories go to different sections, skirts to a different sections, jackets, shoes and pants
and so on.
We organize them or we put them in a different sections of our closet.
Now, if you don't do this and you just throw all your clothes in one big closet, then what will happen
in your closet is going to look like this, a complete mess.
So it will be so hard for you if to pull out a jeans that you're looking for or socks.
So that is why the file system was born to avoid this cluttered way of things.
So operating system stores, file and directories in an organized and structured way.
For example, system configuration files would go to one folder, user files to another, log files
to another folder.
Commands or scripts will go to a different folder and so on.
There are many different types of file systems.
In general, improvements have been made to file system with new releases of operating system and and
each new file system has been given a different name.
So whenever there is a new release in the operating system, usually it comes with an improved or enhanced
file system.
So let's took a let's take a look at a few operating systems.
There are XT three XD for ZFS.
And by the way, these three operating these three file systems are the Linux file system, whereas
NTFS and fat are the Windows file system.
All right.
So if we go to our Windows machine, I have my Windows ten machine here.
And let's say if I go to my file Explorer and I'll go to my C drive, which is right here, and you
will see it has a predefined folders.
When I had my first operating system was built.
So the program files and program files x 86 these two folders are used to store the applications that
are installed on your computer that go in these folders.
Whereas when you create a uses in your computer, your operating system, put that user's profiles into
this directory.
Going back similarly windows the operating system files, the configurations will go to this folder.
So it's a lot easier for the operating system to pull or retrieve the files it needs because it knows
which folder to look for.
Now, if I go to my Linux operating system.
Which is right here.
Let me log in.
And I have the terminal open right here.
So I would have to go into CD Slash because everything starts from the slash which the root directory
hit enter and I would do a les minus L and right here you will notice everything will start from these
directories or folders, just like in windows.
Everything start from D, in Linux everything starts from scratch.
So you have been directory.
But at sea where the configuration file go home is where all the user directories are located.
Then you have OPPT where the programs are running.
Then you have spin.
That's where your commands and scripts are located and you have temp directory.
You have your directory where your log files are located.
So that's how the Linux operating system has its own structured way to save the files and directories.
So that's what exactly a file system is.
And I hope you could remember that you could compare that completely with the closet, and then you
will never forget what a file system is.