8,560
edits
(Created page with "====نصب====") Tags: Mobile web edit Mobile edit |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
{{UnderConstruction|Page under construction.}} | |||
__TOC__ | __TOC__ | ||
This page provides information on some of the | This page provides information on some of the filesystems commonly used in Manjaro. It also shows where and how they are used. Further information on these and other filesystems can be found in the ARCH Wiki. | ||
A | A filesystem 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 filesystems has advantages and disadvantages. They are mostly developed for a special purpose and are therefore used in a certain environment. | ||
== لینوکس == | == لینوکس == | ||
filesystems that are mostly used under Linux. | |||
Note that many | Note that many filesystem 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 filesystems. So if you regularly use a filesystem, it is a good idea to install the appropriate tools. | ||
=== Ext2 → Ext3 → Ext4 === | === Ext2 → Ext3 → Ext4 === | ||
Ext4 is the default | Ext4 is the default filesystem 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. | ||
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. | ||
Line 25: | Line 25: | ||
====نصب==== | ====نصب==== | ||
In | In Manjaro, e2fsprogs is already installed | ||
=== | ===Btrfs=== | ||
A modern '''C'''opy '''o'''n '''W'''rite | A modern '''C'''opy '''o'''n '''W'''rite filesystem for Linux aimed at implementing advanced features while also focusing on '''fault tolerance''', '''repair''' and '''easy administration'''. Btrfs not only is a filesystem, but also is partly a volume manager, software-raid, backup-tool, and it is flash-friendly. | ||
Because | Because Btrfs is different, some things seem unfamiliar and strange. Then [https://btrfs.wiki.kernel.org/index.php/Main_Page Btrfs@kernel.org] is a good starting point to search for answers. | ||
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''' | 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 '''[https://btrfs.wiki.kernel.org/index.php/Status stable] .''' However, new features are still under development. Its main features and benefits are: | ||
* '''Snapshots''' which do not make | * '''Snapshots''' which do not make a full copy of files | ||
* '''RAID''' - support for software-based RAID 0, RAID 1, RAID 10 | * '''RAID''' - support for software-based RAID 0, RAID 1, RAID 10 | ||
* '''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 | ||
see [https://btrfs.wiki.kernel.org/index.php/Main_Page | see [https://btrfs.wiki.kernel.org/index.php/Main_Page Btrfs@kernel.org], [https://wiki.archlinux.org/title/Btrfs Btrfs@ARCH-wiki], [https://de.wikipedia.org/wiki/Btrfs Btrfs@wikipedia] | ||
====نصب==== | ====نصب==== | ||
Line 44: | Line 44: | ||
{{UserCmd|command=pamac install btrfs-progs}} | {{UserCmd|command=pamac install btrfs-progs}} | ||
=== | === ReiserFS → reiser4 === | ||
ReiserFS 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. | |||
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] | ||
Line 56: | Line 56: | ||
== Windows == | == Windows == | ||
filesystems mostly used in windows | |||
=== NTFS === | === NTFS === | ||
It is the most widely used | It is the most widely used filesystem 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 | ||
* Long file names with UTF16 up to 255 characters | * Long file names with UTF16 up to 255 characters | ||
Line 67: | Line 67: | ||
* Compression, encryption, ... | * Compression, encryption, ... | ||
Currently there are some restrictions when using NTFS with Linux. If windows is suddenly switched off or goes into hibernating, the NTFS | Currently there are some restrictions when using NTFS with Linux. If windows is suddenly switched off or goes into hibernating, the NTFS filesystem 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 filesystem as read-only to be on the safe side. | ||
see [https://wiki.archlinux.org/title/NTFS NTFS@ARCH-wiki], [https://en.wikipedia.org/wiki/NTFS NTFS@wikipedia] | |||
{{warning |If you regularly switch between Windows and Linux, you should switch off "hibernation", "Hybrid Boot", "Fast Boot" in Windows. Then Linux has always full (read / write) access to NTFS drives. | |||
* [https://forum.manjaro.org/t/all-of-my-files-are-in-read-only-mode/83777/7 all-of-my-files-are-in-read-only-mode@forum] | |||
}} | |||
====Install==== | ====Install==== | ||
Line 79: | Line 81: | ||
== DOS == | == DOS == | ||
filesystems under DOS and early windows on a lot of floppydisks and USB-sticks | |||
=== FAT16 → FAT32 (+VFAT) === | === FAT16 → FAT32 (+VFAT) === | ||
This is a traditional | This is a traditional filesystem 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. | ||
Even with FAT32, this comes not without its disadvantages. | Even with FAT32, this comes not without its disadvantages. | ||
Line 102: | Line 104: | ||
=== exFAT === | === exFAT === | ||
Microsoft developed the exFAT (Extended File | Microsoft developed the exFAT (Extended File Allocation 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 filesystems. ExFAT is included in Linux 5.4 and higher. | ||
* Flash friendly | * Flash friendly | ||
Line 121: | Line 123: | ||
== macOS == | == macOS == | ||
Filesystems mostly used in | Filesystems mostly used in macOS | ||
=== HFS → HFS+ === | === HFS → HFS+ === | ||
Line 143: | Line 145: | ||
==Comparisions== | ==Comparisions== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|+ Possible usage of Filesystems | |+Possible usage of Filesystems | ||
|- | |- | ||
! Filesystem !! | !Filesystem!!Manjaro!!Win10!!OSX!!Win9x, DOS | ||
|- | |- | ||
|ext2||●||▷ ExtFS||●|| | |ext2||●||▷ ExtFS||●|| | ||
|- | |- | ||
|ext3/4||●||▷ ExtFS||?|| | |ext3/4||●||▷ ExtFS||?|| | ||
|- | |- | ||
|btrfs||● btrfs-progs||▷ ExtFS, WinBtrfs||-||- | |btrfs||● btrfs-progs||▷ ExtFS, WinBtrfs||-||- | ||
Line 157: | Line 159: | ||
|reiser4||○ reiserfs||?||?||- | |reiser4||○ reiserfs||?||?||- | ||
|- | |- | ||
|NTFS||○ ntfs-3g<br>▶ 5.15?? ntfs3||●||?|| | |NTFS||○ ntfs-3g<br>▶ 5.15?? ntfs3||●||?|| | ||
|- | |- | ||
|FAT32||● dosfstools||●||●|| ● | |FAT32||● dosfstools||●||●||● | ||
|- | |- | ||
|exFAT||▶ 5.4 exfatprogs||●||?||? | |exFAT||▶ 5.4 exfatprogs||●||?||? | ||
|- | |- | ||
|HFS||○ hfsprogs (AUR)||?||●|| | |HFS||○ hfsprogs (AUR)||?||●|| | ||
|- | |- | ||
|XFS||?||▷ ExtFS||?|| | |XFS||?||▷ ExtFS||?|| | ||
|- | |- | ||
|ZFS||?||?||?|| | |ZFS||?||?||?|| | ||
|} | |} | ||
Line 208: | Line 210: | ||
=See also= | =See also= | ||
<div class="mw-translate-fuzzy"> | |||
[https://en.wikipedia.org/wiki/ExFAT ویکیپدیا:exFAT]<br /> | [https://en.wikipedia.org/wiki/ExFAT ویکیپدیا:exFAT]<br /> | ||
[https://fa.wikipedia.org/wiki/%D9%85%D9%82%D8%A7%DB%8C%D8%B3%D9%87_%D8%B3%DB%8C%D8%B3%D8%AA%D9%85%E2%80%8C%D9%87%D8%A7%DB%8C_%D9%BE%D8%B1%D9%88%D9%86%D8%AF%D9%87 ویکیپدیا: مقایسه سیستمهای پرونده ]<br /> | [https://fa.wikipedia.org/wiki/%D9%85%D9%82%D8%A7%DB%8C%D8%B3%D9%87_%D8%B3%DB%8C%D8%B3%D8%AA%D9%85%E2%80%8C%D9%87%D8%A7%DB%8C_%D9%BE%D8%B1%D9%88%D9%86%D8%AF%D9%87 ویکیپدیا: مقایسه سیستمهای پرونده ]<br /> | ||
[https://wiki.archlinux.org/index.php/Filesystems Archwiki:File Systems]<br /> | [https://wiki.archlinux.org/index.php/Filesystems Archwiki:File Systems]<br /> | ||
</div> | |||
[[Category:Contents Page{{#translation:}}]] | [[Category:Contents Page{{#translation:}}]] | ||
[[Category: | [[Category:filesystems{{#translation:}}]] |