Manjaro Difference between revisions of "File Systems"

Difference between revisions of "File Systems"

From Manjaro
m (inserted free lines)
Line 10: Line 10:


== Linux == <!--T:16-->
== Linux == <!--T:16-->
File systems that are mostly used under linux.
File systems that are mostly used under linux.


Line 15: Line 16:


=== Ext2 → Ext3 → Ext4 ===
=== Ext2 → Ext3 → Ext4 ===
Ext4 is the default file system in Manjaro at the moment. It is the evolution of the most used Linux filesystems (Ext3, Ext2) and promises improved design, better performance, reliability, and features over its predecessors.
Ext4 is the default file system in Manjaro at the moment. It is the evolution of the most used Linux filesystems (Ext3, Ext2) and promises improved design, better performance, reliability, and features over its predecessors.


Line 20: Line 22:


====Install==== <!--T:17-->
====Install==== <!--T:17-->
In manjaro e2fsprogs is already installed
In manjaro e2fsprogs is already installed
=====Tips=====
 
====Tips====
 
For advanced optimizations see the [https://wiki.archlinux.org/index.php/Ext4#Improving_performance Archwiki Ext4 article].
For advanced optimizations see the [https://wiki.archlinux.org/index.php/Ext4#Improving_performance Archwiki Ext4 article].


===btrfs=== <!--T:20-->
===btrfs=== <!--T:20-->
A modern file system with a lot of advanced features. Its main advantage it to be a '''C'''opy-'''O'''n-'''W'''rite-filesystem
A modern file system with a lot of advanced features. Its main advantage it to be a '''C'''opy-'''O'''n-'''W'''rite-filesystem


see [https://btrfs.wiki.kernel.org/index.php/Main_Page btrfs@kernel.org], [https://wiki.archlinux.org/title/Btrfs Btrfs@ARC-wiki], [https://de.wikipedia.org/wiki/Btrfs Btrfs@wikipedia]
see [https://btrfs.wiki.kernel.org/index.php/Main_Page btrfs@kernel.org], [https://wiki.archlinux.org/title/Btrfs Btrfs@ARC-wiki], [https://de.wikipedia.org/wiki/Btrfs Btrfs@wikipedia]
====Install==== <!--T:21-->
====Install==== <!--T:21-->
{{UserCmd|command=pamac install btrfs-progs}}
{{UserCmd|command=pamac install btrfs-progs}}


=== reiserfs → reiser4 === <!--T:18-->
=== reiserfs → reiser4 === <!--T:18-->
This was used some time ago in a few linux distros. You may need it if you move to manjaro and have to read data from such harddisks.  
This was used some time ago in a few linux distros. You may need it if you move to manjaro and have to read data from such harddisks.  


see [https://wiki.archlinux.org/title/Reiser4 Reiser4@ARCH-wiki], [https://en.wikipedia.org/wiki/ReiserFS ReiserFS@wikipedia], [https://en.wikipedia.org/wiki/Reiser4 Reiser4@wikipedia]
see [https://wiki.archlinux.org/title/Reiser4 Reiser4@ARCH-wiki], [https://en.wikipedia.org/wiki/ReiserFS ReiserFS@wikipedia], [https://en.wikipedia.org/wiki/Reiser4 Reiser4@wikipedia]
====Install====  <!--T:19-->
====Install====  <!--T:19-->
{{UserCmd|command=pamac install reiserfsprogs reiser4progs}}
{{UserCmd|command=pamac install reiserfsprogs reiser4progs}}


== Windows == <!--T:22-->
== Windows == <!--T:22-->
File systems mostly used in windows
File systems mostly used in windows
=== NTFS ===
=== NTFS ===
This today is used by most windows installs
This today is used by most windows installs


see [https://wiki.archlinux.org/title/NTFS NTFS@ARCH-wiki], [https://en.wikipedia.org/wiki/NTFS NTFS@wikipedia]
see [https://wiki.archlinux.org/title/NTFS NTFS@ARCH-wiki], [https://en.wikipedia.org/wiki/NTFS NTFS@wikipedia]
====Install====  <!--T:23-->
====Install====  <!--T:23-->
{{UserCmd|command=pamac install ntfs-3g}}
{{UserCmd|command=pamac install ntfs-3g}}


== DOS == <!--T:24-->
== DOS == <!--T:24-->
File systems under DOS and early windows on a lot of floppydisks and USB-sticks
File systems under DOS and early windows on a lot of floppydisks and USB-sticks
=== FAT → FAT32 → VFAT ===
=== FAT → FAT32 → VFAT ===
You may find this filesystem on disks created under DOS or Windows9x. It is sometimes used to transport files from one operating system to another.
You may find this filesystem on disks created under DOS or Windows9x. It is sometimes used to transport files from one operating system to another.


see [https://wiki.archlinux.org/title/FAT FAT@ARCH-wiki], [https://en.wikipedia.org/wiki/File_Allocation_Table FAT@wikipedia]
see [https://wiki.archlinux.org/title/FAT FAT@ARCH-wiki], [https://en.wikipedia.org/wiki/File_Allocation_Table FAT@wikipedia]
====Install==== <!--T:25-->
====Install==== <!--T:25-->
{{UserCmd|command=pamac install dosfstools}}
{{UserCmd|command=pamac install dosfstools}}


=== exFAT === <!--T:26-->
=== exFAT === <!--T:26-->
Microsoft created the exFAT (Extended File Alocation Table) to make up for the inadequacies of FAT32, as it can hold large files, large numbers of files & use very large partitions. Supported on Linux, Windows, MacOS and many other devices, it is one of the most compatible filesystems.
Microsoft created the exFAT (Extended File Alocation Table) to make up for the inadequacies of FAT32, as it can hold large files, large numbers of files & use very large partitions. Supported on Linux, Windows, MacOS and many other devices, it is one of the most compatible filesystems.
A good choice when you need to share a removable device between many systems.
A good choice when you need to share a removable device between many systems.
Line 65: Line 87:


====Install====  <!--T:28-->
====Install====  <!--T:28-->
{{UserCmd|command=pamac install exfatprogs}}
{{UserCmd|command=pamac install exfatprogs}}


== macOS == <!--T:29-->
== macOS == <!--T:29-->
Filesystems mostly used in macOs
Filesystems mostly used in macOs
=== HFS → HFS+ ===
=== HFS → HFS+ ===
see [https://en.wikipedia.org/wiki/HFS_Plus HFSPlus@wikipedia]
see [https://en.wikipedia.org/wiki/HFS_Plus HFSPlus@wikipedia]
====Install from AUR====  
 
====Install from AUR====
 
{{UserCmd|command=pamac install hfsprogs}}
{{UserCmd|command=pamac install hfsprogs}}


== Others == <!--T:30-->
== Others == <!--T:30-->
=== XFS ===
=== XFS ===
see [https://wiki.archlinux.org/title/XFS XFS@ARCH-wiki]
see [https://wiki.archlinux.org/title/XFS XFS@ARCH-wiki]
===ZFS===
===ZFS===
see [https://wiki.archlinux.org/title/ZFS ZFS@ARCH-wiki]
see [https://wiki.archlinux.org/title/ZFS ZFS@ARCH-wiki]


==Comparisions==
==Comparisions==
{| class="wikitable sortable"
{| class="wikitable sortable"
|+ Possible usage of Filesystems
|+ Possible usage of Filesystems
Line 145: Line 178:


=See also=  <!--T:31-->
=See also=  <!--T:31-->
[https://en.wikipedia.org/wiki/ExFAT Wikipedia:exFAT]<br />
[https://en.wikipedia.org/wiki/ExFAT Wikipedia:exFAT]<br />
[https://en.wikipedia.org/wiki/Comparison_of_file_systems Wikipedia:Comparison of file systems]<br />
[https://en.wikipedia.org/wiki/Comparison_of_file_systems Wikipedia:Comparison of file systems]<br />

Revision as of 06:08, 16 September 2021

Other languages:
English • ‎Türkçe • ‎français • ‎русский • ‎فارسی
Page under construction

This page provides information on some of the file systems commonly used in Manjaro. It also shows where and how they are used. Further information on these and other file systems can be found in the ARCH Wiki

A file system manages the space on a storage medium (hard disk, SSD ...). It makes this memory available to the operating system so that files can be saved and read again. Each of the following file systems has advantages and disadvantages. They are mostly developed for a special purpose and are therefore used in a certain environment.

Linux

File systems that are mostly used under linux.

Be aware that a lot of filesystem-drivers are included into the Linux kernel. You may not need anything special to mount, read or write these filesystems. But there are packages with additional tools. You may need them to format, check, repair, modify or tune such filesystems.

Ext2 → Ext3 → Ext4

Ext4 is the default file system in Manjaro at the moment. It is the evolution of the most used Linux filesystems (Ext3, Ext2) and promises improved design, better performance, reliability, and features over its predecessors.

see Ext4@ARCH-wiki, Ext4@wikipedia

Install

In manjaro e2fsprogs is already installed

Tips

For advanced optimizations see the Archwiki Ext4 article.

btrfs

A modern file system with a lot of advanced features. Its main advantage it to be a Copy-On-Write-filesystem

see btrfs@kernel.org, Btrfs@ARC-wiki, Btrfs@wikipedia

Install

user $ pamac install btrfs-progs COPY TO CLIPBOARD


reiserfs → reiser4

This was used some time ago in a few linux distros. You may need it if you move to manjaro and have to read data from such harddisks.

see Reiser4@ARCH-wiki, ReiserFS@wikipedia, Reiser4@wikipedia

Install

user $ pamac install reiserfsprogs reiser4progs COPY TO CLIPBOARD


Windows

File systems mostly used in windows

NTFS

This today is used by most windows installs

see NTFS@ARCH-wiki, NTFS@wikipedia

Install

user $ pamac install ntfs-3g COPY TO CLIPBOARD


DOS

File systems under DOS and early windows on a lot of floppydisks and USB-sticks

FAT → FAT32 → VFAT

You may find this filesystem on disks created under DOS or Windows9x. It is sometimes used to transport files from one operating system to another.

see FAT@ARCH-wiki, FAT@wikipedia

Install

user $ pamac install dosfstools COPY TO CLIPBOARD


exFAT

Microsoft created the exFAT (Extended File Alocation Table) to make up for the inadequacies of FAT32, as it can hold large files, large numbers of files & use very large partitions. Supported on Linux, Windows, MacOS and many other devices, it is one of the most compatible filesystems. A good choice when you need to share a removable device between many systems.

see ExFAT@wikipedia

Warning
exFAT FS does not use journaling. Data on such a filesystem is vulnerable to irreparable corruption due to improper ejection or power outage.

Install

user $ pamac install exfatprogs COPY TO CLIPBOARD


macOS

Filesystems mostly used in macOs

HFS → HFS+

see HFSPlus@wikipedia

Install from AUR

user $ pamac install hfsprogs COPY TO CLIPBOARD


Others

XFS

see XFS@ARCH-wiki

ZFS

see ZFS@ARCH-wiki

Comparisions

Possible usage of Filesystems
Filesystem manjaro Win10 OsX Win9x, DOS
ext2 ▷ ExtFS
ext3/4 ▷ ExtFS ?
btrfs ● btrfs-progs ▷ ExtFS, WinBtrfs - -
reiser3 ● reiser4progs ▷ RFSTool ? -
reiser4 ● reiserfs ? ? -
NTFS ○ ntfs-3g ?
FAT ● dosfstools
exFAT ● exfatprogs ? ?
HFS ○ hfsprogs (AUR) ?
XFS ? ▷ ExtFS ?
ZFS ? ? ?
■ = fully supported
● = fully supported, additional tools to install
○ = partially supported
▷ = possible via external tools
? = feel free to extend ;-)
Some important properties
Properties ext2 ext3 ext4 btrfs reiserfs XFS
journaling - ● ordered ● ordered ▶ 2.6
barriers - ?
checksum - - ◎ metadata ● full ?
kompression - - - ●,
zstd ▶ 4.14/5.1
-
encryption - - ▶ 4.13 -
snapshots - - - -
TRIM possible - - ▶ 2.6.33 ▶ 4.3
xattr, ACL ? ACL ACL ACL
small repair ● fsck ● fsck ● fsck ● auto reiserfsck
journal repair ● fsck ● fsck ● fsck ● auto 3.2
repair after power loss - ? ● tune2fs, fsck ● auto, scrub
since 1993 2001 2008 2009 2001

See also

Wikipedia:exFAT
Wikipedia:Comparison of file systems
Archwiki:File Systems

Cookies help us deliver our services. By using our services, you agree to our use of cookies.