What is Linux Filesystem?

Linux classification system or any classification system usually may be a layerthat’s underneath the software package that handles the positioning of your information on the storage; while not it, the system cannot is aware of that file starts from wherever and ends wherever

Linux Filesystem Types

When you attempt to install UNIX/Linux you may see that UNIX/Linux offers several file systems like these:

Ext, Ext2, Ext3, Ext4, JFS, XFS, btrfs and swap

So what square measure these file systems that UNIX/Linux offers?

Ext: Associate in Nursing previous one and now not used because of limitations.

Ext2: initial UNIX/Linux Filesystem that enables 2 terabytes of information allowed.

Ext3: came from Ext2, however with upgrades and backward compatibility.

The only drawback with it that the servers don’t use this type of Filesystem as a result of this Filesystem doesn’t support file recovery or disk snapshots.

Ext4: quicker and permit massive files with vital speed

It is an ideal possibility for SSD disks, and you notice after you attempt to install any UNIX/Linux distro that this one is that the default Filesystem that UNIX suggests.

JFS: old Filesystem created by IBM. It works fine with tiny and large files, however it failing and files corrupted when very long time use, reports say.

XFS: Old Filesystem and works slowly with tiny files.

Btrfs: created by Oracle. it’s not stable as Ext in some distros, however you’ll be able to say that it’s a replacement for it if you’ve got to. it’s wonderful performance.

You may notice From the comparison higher than that Ext4 is that the best UNIX/Linux Filesystem.

Top Level Explaination

Now you Know what UNIX/Linux Filesystem is and its varieties. therefore what’s within that filesystem, I mean from the highest level.

You may come back from Windows, and Windows has partitions like C:\ and D:\, you’ll be able to install Windows on any of those partitions, sometimes C:\.

What regarding the UNIX/Linux Filesystem Structure?

Well, if you navigate to the foundation partition, that is / you’ll see the UNIX/Linux Filesystem Hierarchy.
Most distros have identical structure with some very little distinction between distros.

Linux Filesystem Directories

/bin: wherever UNIX/Linux core commands reside like ls, mv.

/boot: wherever boot loader and boot files square measure situated.

/dev: wherever all physical drives square measure mounted like USBs DVDs.

/etc: Contains configurations for the put in packages.

/home: wherevereach user can have a private folder to place his folders together with his name like /home/clinerds

/libwherever the libraries of the put in packages situated since libraries shared among all packages,

unlike Windows, you will realize duplicates in several folders.

/media: Here square measure the external devices like DVDs and USB sticks that square measure mounted, and you’ll be able to access their files from here.

/mnt: wherever you mount alternative things Network locations and a few distros, you will realize your mounted USB or videodisc.

/opt: Some non mandatory packages square measure situated here and managed by the package manager.

/proc: as a result of everything on UNIX/Linux could be a file, this folder for processes running on the system,

and you’ll be able to access them and see abundant information regarding the present processes.

/root: the house folder for the foundation user.

/sbin: Like /bin, however binaries here square measure for root user solely.

/tmp: Contains the temporary files.

/usr: wherever the utilities and files shared between users on UNIX/Linux.

/var: Contains system logs and alternative variable information.

Now you’ve gota decent plan regarding what the UNIX/Linux Filesystem is.

Choosing the proper classification system will lead you to the most effective performance