Difference between revisions of "File Systems"

Marked this version for translation
(translate table)
(Marked this version for translation)
Line 11: Line 11:
== Linux == <!--T:16-->
== Linux == <!--T:16-->


<!--T:32-->
File systems that are mostly used under linux.
File systems that are mostly used under linux.


<!--T:33-->
Note that many file system drivers are already included in the Linux kernel. You may not need anything else to mount, read, or write these filesystems. But there are packages with additional tools. You may need them to format, check, repair, modify, or optimize such file systems. So if you regularly use a file system, it is a good idea to install the appropriate tools
Note that many file system drivers are already included in the Linux kernel. You may not need anything else to mount, read, or write these filesystems. But there are packages with additional tools. You may need them to format, check, repair, modify, or optimize such file systems. So if you regularly use a file system, it is a good idea to install the appropriate tools


=== Ext2 → Ext3 → Ext4 ===
=== Ext2 → Ext3 → Ext4 === <!--T:34-->


<!--T:35-->
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.


<!--T:36-->
If you are using Ext2 or Ext3, you can convert the partition to Ext4. Ext4 uses journaling, checksums and write barriers and is therefore more robust against damage.
If you are using Ext2 or Ext3, you can convert the partition to Ext4. Ext4 uses journaling, checksums and write barriers and is therefore more robust against damage.


<!--T:37-->
Currently Ext4 is fully supported in Win10 and OsX. Support for ext4 has been built in since WSL is included in Win10 (2016).
Currently Ext4 is fully supported in Win10 and OsX. Support for ext4 has been built in since WSL is included in Win10 (2016).


<!--T:38-->
see [https://ext4.wiki.kernel.org/ Ext4@kernel.org], [https://wiki.archlinux.org/title/Ext4 Ext4@ARCH-wiki], [https://de.wikipedia.org/wiki/Ext4 Ext4@wikipedia]  
see [https://ext4.wiki.kernel.org/ Ext4@kernel.org], [https://wiki.archlinux.org/title/Ext4 Ext4@ARCH-wiki], [https://de.wikipedia.org/wiki/Ext4 Ext4@wikipedia]  
<br>For advanced optimizations see  [https://wiki.archlinux.org/index.php/Ext4#Improving_performance Improving Ext4 performance@Archwiki].
<br>For advanced optimizations see  [https://wiki.archlinux.org/index.php/Ext4#Improving_performance Improving Ext4 performance@Archwiki].
Line 28: Line 34:
====Install==== <!--T:17-->
====Install==== <!--T:17-->


<!--T:39-->
In manjaro e2fsprogs is already installed
In manjaro e2fsprogs is already installed


===btrfs=== <!--T:20-->
===btrfs=== <!--T:20-->


<!--T:40-->
A modern '''C'''opy '''o'''n '''W'''rite file system for Linux aimed at implementing advanced features while also focusing on '''fault tolerance''', '''repair''' and '''easy administration'''. Btrfs not only is a file system, but also is partly a volume manager, software-raid, backup-tool, and it is flash-friendly.
A modern '''C'''opy '''o'''n '''W'''rite file system for Linux aimed at implementing advanced features while also focusing on '''fault tolerance''', '''repair''' and '''easy administration'''. Btrfs not only is a file system, but also is partly a volume manager, software-raid, backup-tool, and it is flash-friendly.


<!--T:41-->
Because btrfs is different, some things seem unfamiliar and strange. Then [https://btrfs.wiki.kernel.org/index.php/Main_Page btrfs.wiki.kernel.org] is a good starting point to search for answers.
Because btrfs is different, some things seem unfamiliar and strange. Then [https://btrfs.wiki.kernel.org/index.php/Main_Page btrfs.wiki.kernel.org] is a good starting point to search for answers.


<!--T:42-->
Development of Btrfs started in 2007. Since that time, Btrfs is a part of the Linux kernel and is under active development. The Btrfs code base is '''stable'''. However, new features are still under development. Its main features and benefits are:
Development of Btrfs started in 2007. Since that time, Btrfs is a part of the Linux kernel and is under active development. The Btrfs code base is '''stable'''. However, new features are still under development. Its main features and benefits are:
* '''Snapshots''' which do not make the full copy of files
* '''Snapshots''' which do not make the full copy of files
Line 41: Line 51:
* '''Self-healing''' - checksums for data and metadata, automatic detection of silent data corruptions
* '''Self-healing''' - checksums for data and metadata, automatic detection of silent data corruptions


<!--T:43-->
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-->


<!--T:44-->
<tvar|usercmd0>{{UserCmd|command=pamac install btrfs-progs}}</>
<tvar|usercmd0>{{UserCmd|command=pamac install btrfs-progs}}</>


=== reiserfs → reiser4 === <!--T:18-->
=== reiserfs → reiser4 === <!--T:18-->


<!--T:45-->
Reiserf was the first journaling filesystem to be included in the standard kernel. It was actively used by some distros some time ago, but is not currently widely used. Reiser4 is the successor to reiserfs(3). However, Reiser4 seems not to be integrated in the kernel yet.
Reiserf was the first journaling filesystem to be included in the standard kernel. It was actively used by some distros some time ago, but is not currently widely used. Reiser4 is the successor to reiserfs(3). However, Reiser4 seems not to be integrated in the kernel yet.


<!--T:46-->
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], [https://reiser4.wiki.kernel.org/ Reiser4@kernel.org]
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], [https://reiser4.wiki.kernel.org/ Reiser4@kernel.org]


====Install==== <!--T:19-->
====Install==== <!--T:19-->


<!--T:47-->
<tvar|usercmd2>{{UserCmd|command=pamac install reiserfsprogs reiser4progs}}</>
<tvar|usercmd2>{{UserCmd|command=pamac install reiserfsprogs reiser4progs}}</>


== Windows == <!--T:22-->
== Windows == <!--T:22-->


<!--T:48-->
File systems mostly used in windows
File systems mostly used in windows


=== NTFS ===
=== NTFS === <!--T:49-->


<!--T:50-->
It is the most widely used file system on windows these days. It does exist in different versions, but unlike FAT32, all of them offer the following points:
It is the most widely used file system on windows these days. It does exist in different versions, but unlike FAT32, all of them offer the following points:
* Large files> 4GB
* Large files> 4GB
Line 70: Line 87:
* Compression, encryption, ...
* Compression, encryption, ...


<!--T:51-->
Currently there are some restrictions when using NTFS with Linux. If windows is suddenly switched off or goes into hibernating, the NTFS file system is left in a "dirty-state". When Windows starts again, NTFS is the first to be cleaned. This operation is currently not supported by the Linux driver. Then Linux shows the NTFS file system as read-only to be on the safe side.
Currently there are some restrictions when using NTFS with Linux. If windows is suddenly switched off or goes into hibernating, the NTFS file system is left in a "dirty-state". When Windows starts again, NTFS is the first to be cleaned. This operation is currently not supported by the Linux driver. Then Linux shows the NTFS file system as read-only to be on the safe side.


<!--T:52-->
{{warning |If you regularly switch between Windows and Linux, you should switch off "hibernation", "Hybrid Boot", "Fast Boot" in Windows. Then Linux has allways full (read / write) access to NTFS drives.}}
{{warning |If you regularly switch between Windows and Linux, you should switch off "hibernation", "Hybrid Boot", "Fast Boot" in Windows. Then Linux has allways full (read / write) access to NTFS drives.}}


<!--T:53-->
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-->


<!--T:54-->
<tvar|usercmd3>{{UserCmd|command=pamac install ntfs-3g}}</>
<tvar|usercmd3>{{UserCmd|command=pamac install ntfs-3g}}</>


== DOS == <!--T:24-->
== DOS == <!--T:24-->


<!--T:55-->
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


=== FAT16 → FAT32 (+VFAT) ===
=== FAT16 → FAT32 (+VFAT) === <!--T:56-->


<!--T:57-->
This is a traditional file system under DOS and early Windows versions. Even today it can be found on many floppy disks, USB sticks and hard drives. It is supported by all types of operating systems and is therefore often used to exchange files, to pass them on, or to keep them accessible to both operating systems in the case of dualboot.
This is a traditional file system under DOS and early Windows versions. Even today it can be found on many floppy disks, USB sticks and hard drives. It is supported by all types of operating systems and is therefore often used to exchange files, to pass them on, or to keep them accessible to both operating systems in the case of dualboot.


<!--T:58-->
Even with FAT32, this comes not without its disadvantages.
Even with FAT32, this comes not without its disadvantages.
* no support for user rights or xattr
* no support for user rights or xattr
Line 95: Line 119:
* not robust
* not robust


<!--T:59-->
{{warning | FAT Filesystems do not use journaling. Data on such filesystems is vulnerable to irreparable corruption due to ''improper ejection or power outage''.}}
{{warning | FAT Filesystems do not use journaling. Data on such filesystems is vulnerable to irreparable corruption due to ''improper ejection or power outage''.}}


<!--T:60-->
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-->


<!--T:61-->
<tvar|usercmd4>{{UserCmd|command=pamac install dosfstools}}</>
<tvar|usercmd4>{{UserCmd|command=pamac install dosfstools}}</>


=== exFAT === <!--T:26-->
=== exFAT === <!--T:26-->


<!--T:62-->
Microsoft developed the exFAT (Extended File Alocation Table) in 2006 and optimized it for flash memories such as USB sticks and SD cards. It can store large files and large numbers of files, and it can manage very large partitions. It is supported by Linux, Windows, macOS and many other devices and is one of the most compatible file systems. ExFAT is included in Linux 5.4.
Microsoft developed the exFAT (Extended File Alocation Table) in 2006 and optimized it for flash memories such as USB sticks and SD cards. It can store large files and large numbers of files, and it can manage very large partitions. It is supported by Linux, Windows, macOS and many other devices and is one of the most compatible file systems. ExFAT is included in Linux 5.4.


<!--T:63-->
* Flash friendly
* Flash friendly
* No support for user rights or xattr
* No support for user rights or xattr
Line 114: Line 143:
* Not robust
* Not robust


<!--T:64-->
{{warning | exFAT FS does not use journaling. Data on such a filesystem is vulnerable to irreparable corruption due to ''improper ejection or power outage''.}}
{{warning | exFAT FS does not use journaling. Data on such a filesystem is vulnerable to irreparable corruption due to ''improper ejection or power outage''.}}


Line 119: Line 149:
see [https://en.wikipedia.org/wiki/ExFAT ExFAT@wikipedia]
see [https://en.wikipedia.org/wiki/ExFAT ExFAT@wikipedia]


====Install==== <!--T:28-->
====Install==== <!--T:28-->


<!--T:65-->
<tvar|usercmd5>{{UserCmd|command=pamac install exfatprogs}}</>
<tvar|usercmd5>{{UserCmd|command=pamac install exfatprogs}}</>


== macOS == <!--T:29-->
== macOS == <!--T:29-->


<!--T:66-->
Filesystems mostly used in macOs
Filesystems mostly used in macOs


=== HFS → HFS+ ===
=== HFS → HFS+ === <!--T:67-->


<!--T:68-->
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==== <!--T:69-->


<!--T:70-->
<tvar|usercmd6>{{UserCmd|command=pamac install hfsprogs}}</>
<tvar|usercmd6>{{UserCmd|command=pamac install hfsprogs}}</>


== Others == <!--T:30-->
== Others == <!--T:30-->


=== XFS ===
=== XFS === <!--T:71-->


<!--T:72-->
see [https://wiki.archlinux.org/title/XFS XFS@ARCH-wiki]
see [https://wiki.archlinux.org/title/XFS XFS@ARCH-wiki]


===ZFS===
===ZFS=== <!--T:73-->


<!--T:74-->
see [https://wiki.archlinux.org/title/ZFS ZFS@ARCH-wiki]
see [https://wiki.archlinux.org/title/ZFS ZFS@ARCH-wiki]


==Comparisions==
==Comparisions== <!--T:75-->
</translate>
</translate>
{| class="wikitable sortable"
{| class="wikitable sortable"
|+ <translate>Possible usage of Filesystems</translate>
|+ <translate><!--T:76--> Possible usage of Filesystems</translate>
|-
|-
! Filesystem !! manjaro !! Win10 !! OsX !! Win9x, DOS
! Filesystem !! manjaro !! Win10 !! OsX !! Win9x, DOS
Line 176: Line 212:
<translate>
<translate>


  ● = fully supported, additional tools to install
  <!--T:77-->
● = fully supported, additional tools to install
  ▶ = included since kernel x.x.x  
  ▶ = included since kernel x.x.x  
  ○ = partially supported
  ○ = partially supported
Line 182: Line 219:
  ? = feel free to extend ;-)
  ? = feel free to extend ;-)


<!--T:78-->
{| class="wikitable sortable"
{| class="wikitable sortable"
|+ Some important properties
|+ Some important properties
Line 212: Line 250:
|}
|}


=See also= <!--T:31-->
=See also= <!--T:31-->


<!--T:79-->
[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 />
translator
1,001

edits