Difference between revisions of "File Systems/fr"
(Created page with "Actuellement, Ext4 est entièrement pris en charge dans Win10 et OsX. La prise en charge d'ext4 a été intégrée depuis que WSL est inclus dans Win10 (2016).") Tags: Mobile web edit Mobile edit |
(Updating to match new version of source page) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
__TOC__ | __TOC__ | ||
Cette page fournit des informations sur certains des systèmes de fichiers couramment utilisés dans Manjaro. Elle montre également où et comment ils sont utilisés. De plus amples informations sur ces systèmes de fichiers et sur d'autres peuvent être trouvées dans le wiki de ARCH. | |||
Un système de fichiers gère l'espace sur un support de stockage (disque dur, SSD...). Il met cette espace à la disposition du système d'exploitation afin que les fichiers puissent être enregistrés et lus à nouveau. Chacun des systèmes de fichiers suivants présente des avantages et des inconvénients. Ils sont principalement développés dans un but précis et sont donc utilisés dans un certain environnement. | |||
== Linux == | == Linux == | ||
systèmes de fichiers principalement utilisés sous Linux. | |||
Notez que de nombreux pilotes de système de fichiers sont déjà inclus dans le noyau Linux. Vous n’aurez peut-être besoin de rien d’autre pour monter, lire ou écrire ces systèmes de fichiers. Mais il existe des packages avec des outils supplémentaires. Vous en aurez peut-être besoin pour formater, vérifier, réparer, modifier ou optimiser ces systèmes de fichiers. Donc si vous utilisez régulièrement un système de fichiers, c'est une bonne idée d'installer les outils appropriés. | |||
=== Ext2 → Ext3 → Ext4 === | === Ext2 → Ext3 → Ext4 === | ||
<div | <div class="mw-translate-fuzzy"> | ||
Ext4 | Ext4 est actuellement le système de fichiers par défaut dans Manjaro. Il s'agit de l'évolution des systèmes de fichiers Linux les plus utilisés (Ext3, Ext2) et promet une conception améliorée, de meilleures performances, fiabilité et fonctionnalités par rapport à ses prédécesseurs. | ||
</div> | </div> | ||
Si vous utilisez Ext2 ou Ext3, vous pouvez convertir la partition en Ext4. Ext4 utilise la journalisation, les sommes de contrôle et les barrières d'écriture et est donc plus robuste contre les dommages. | |||
Actuellement, Ext4 est entièrement pris en charge dans Win10 et OsX. La prise en charge d'ext4 a été intégrée depuis que WSL est inclus dans Win10 (2016). | Actuellement, Ext4 est entièrement pris en charge dans Win10 et OsX. La prise en charge d'ext4 a été intégrée depuis que WSL est inclus dans Win10 (2016). | ||
voir [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>Pour des optimisations avancées, voir [https://wiki.archlinux.org/index.php/Ext4#Improving_performance Améliorer les performances d'Ext4 @Archwiki]. | |||
<br> | |||
====Installer==== | |||
==== | |||
Dans Manjaro, e2fsprogs est préinstallé | |||
===[[Btrfs]]=== | ===[[Btrfs]]=== | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
| Line 58: | Line 36: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Because [[Btrfs]] | [[Btrfs]] is now the default file system in Manjaro. Because [[Btrfs]] works differently, some things may seem unfamiliar and strange. The [[Btrfs]] page is therefore a good starting point for finding answers and gaining a better understanding of [[Btrfs]]. | ||
</div> | </div> | ||
| Line 70: | Line 48: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
see [[Btrfs]], [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] | see [[Btrfs]], [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] | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{BoxWarning|Maintenance|When using snapshots, you must be particularly careful not to use up all the space on the file system -> [[Btrfs#Out_of_space]]}} | |||
</div> | </div> | ||
| Line 86: | Line 68: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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. | 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. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{BoxWarning|As of kernel 6.13|reiserFS will no longer be supported.}} | |||
</div> | </div> | ||
| Line 122: | Line 108: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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. | 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. The same thing may happen, when NTFS becomes damaged. | ||
</div> | </div> | ||
| Line 130: | Line 116: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{ | {{BoxWarning|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] | * [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] | ||
}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{BoxDanger|If your NTFS file system becomes corrupted|It is strongly recommended that you only repair the file system using the original Windows tools. Anything else is highly risky. | |||
}} | }} | ||
</div> | </div> | ||
| Line 261: | Line 252: | ||
</div> | </div> | ||
==Comparaisons== | |||
= | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|+ | |+Utilisation possible des systèmes de fichiers | ||
|- | |- | ||
!Filesystem!!Manjaro!!Win10!!OSX!!Win9x, DOS | !Filesystem!!Manjaro!!Win10!!OSX!!Win9x, DOS | ||
|- | |||
|btrfs||● btrfs-progs||▷ ExtFS, WinBtrfs||-||- | |||
|- | |- | ||
|ext2||●||▷ ExtFS||●|| | |ext2||●||▷ ExtFS||●|| | ||
|- | |- | ||
|ext3/4||●||▷ ExtFS||?|| | |ext3/4||●||▷ ExtFS||?|| | ||
|- | |- | ||
|reiser3||● reiser4progs||▷ RFSTool||?||- | |reiser3||● reiser4progs||▷ RFSTool||?||- | ||
|- | |- | ||
|NTFS||○ ntfs-3g<br>▶ 5.15?? ntfs3||●||?|| | |NTFS||○ ntfs-3g<br>▶ 5.15?? ntfs3||●||?|| | ||
| Line 290: | Line 277: | ||
|- | |- | ||
|ZFS||?||?||?|| | |ZFS||?||?||?|| | ||
|- | |||
|F2FS||?||?||?|| | |||
|- | |||
|JFS||?||?||?|| | |||
|} | |} | ||
● = entièrement pris en charge, outils supplémentaires à installer | |||
▶ = inclus depuis le noyau x.x.x | |||
▶ = | ○ = partiellement pris en charge | ||
○ = | ▷ = possible via des outils externes | ||
▷ = possible via | ? = n'hésitez pas à l'étendre ;-) | ||
? = | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
| Line 304: | Line 293: | ||
|+ Some important properties | |+ Some important properties | ||
|- | |- | ||
! Properties | ! Properties ||btrfs||ext4||ext3||ext2||XFS||ZFS||F2FS||JFS | ||
|- | |||
|journaling ||● full||● ordered||● ordered||-||● | |||
|- | |- | ||
| | |barriers ||●||●||?||- | ||
|- | |- | ||
| | |checksum ||● full||◎ metadata||-||- | ||
|- | |- | ||
| | |kompression||●,<br><small>zstd ▶ 4.14/5.1</small>||-||-||-|| | ||
|- | |- | ||
| | |encryption||-||▶ 4.13||-||- | ||
|- | |- | ||
| | |snapshots||●||-||-||-|| | ||
|- | |- | ||
| | |TRIM possible||▶ 4.3||▶ 2.6.33||-||- | ||
|- | |- | ||
| | |xattr, ACL||ACL||ACL||?||◎||ACL | ||
|- | |- | ||
| | |small repair||● auto||● fsck||● fsck||● fsck | ||
|- | |- | ||
| | |journal repair||● auto 3.2||● fsck||● fsck||● fsck|| | ||
|- | |- | ||
| | |repair after power loss||● auto, scrub||● tune2fs, fsck||?||-|| | ||
|- | |- | ||
| | |RAID||0, 1, 10||-||-||-|| | ||
|- | |- | ||
|since|| | |since||2009||2008||2001||1993|| | ||
|} | |} | ||
</div> | </div> | ||
Latest revision as of 10:50, 20 November 2025
Cette page fournit des informations sur certains des systèmes de fichiers couramment utilisés dans Manjaro. Elle montre également où et comment ils sont utilisés. De plus amples informations sur ces systèmes de fichiers et sur d'autres peuvent être trouvées dans le wiki de ARCH.
Un système de fichiers gère l'espace sur un support de stockage (disque dur, SSD...). Il met cette espace à la disposition du système d'exploitation afin que les fichiers puissent être enregistrés et lus à nouveau. Chacun des systèmes de fichiers suivants présente des avantages et des inconvénients. Ils sont principalement développés dans un but précis et sont donc utilisés dans un certain environnement.
Linux
systèmes de fichiers principalement utilisés sous Linux.
Notez que de nombreux pilotes de système de fichiers sont déjà inclus dans le noyau Linux. Vous n’aurez peut-être besoin de rien d’autre pour monter, lire ou écrire ces systèmes de fichiers. Mais il existe des packages avec des outils supplémentaires. Vous en aurez peut-être besoin pour formater, vérifier, réparer, modifier ou optimiser ces systèmes de fichiers. Donc si vous utilisez régulièrement un système de fichiers, c'est une bonne idée d'installer les outils appropriés.
Ext2 → Ext3 → Ext4
Ext4 est actuellement le système de fichiers par défaut dans Manjaro. Il s'agit de l'évolution des systèmes de fichiers Linux les plus utilisés (Ext3, Ext2) et promet une conception améliorée, de meilleures performances, fiabilité et fonctionnalités par rapport à ses prédécesseurs.
Si vous utilisez Ext2 ou Ext3, vous pouvez convertir la partition en Ext4. Ext4 utilise la journalisation, les sommes de contrôle et les barrières d'écriture et est donc plus robuste contre les dommages.
Actuellement, Ext4 est entièrement pris en charge dans Win10 et OsX. La prise en charge d'ext4 a été intégrée depuis que WSL est inclus dans Win10 (2016).
voir Ext4@kernel.org, Ext4@ARCH-wiki, Ext4@wikipedia
Pour des optimisations avancées, voir Améliorer les performances d'Ext4 @Archwiki.
Installer
Dans Manjaro, e2fsprogs est préinstallé
Btrfs
A modern Copy on Write 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.
Btrfs is now the default file system in Manjaro. Because Btrfs works differently, some things may seem unfamiliar and strange. The Btrfs page is therefore a good starting point for finding answers and gaining a better understanding of Btrfs.
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 a full copy of files
- RAID - support for software-based RAID 0, RAID 1, RAID 10
- Self-healing - checksums for data and metadata, automatic detection of silent data corruptions
Install
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.
Install
Windows
filesystems mostly used in windows
NTFS
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
- Long file names with UTF16 up to 255 characters
- Rights management, ACL
- Journaling of metadata
- Compression, encryption, ...
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. The same thing may happen, when NTFS becomes damaged.
Install
DOS
filesystems under DOS and early windows on a lot of floppydisks and USB-sticks
FAT16 → FAT32 (+VFAT)
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.
- no support for user rights or xattr
- severely restricted file names (8.3 or LFN for VFAT, no distinction between lowercase and uppercase)
- no files over 2GB (FAT16) 4GB (FAT32)
- no journaling
- not robust
Install
exFAT
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
- No support for user rights or xattr
- Files over 4 GB
- Checksums for metadata
- No journal
- Not robust
see ExFAT@wikipedia
Install
macOS
Filesystems mostly used in macOS
HFS → HFS+
Install from AUR
Others
XFS
see XFS@ARCH-wiki
ZFS
see ZFS@ARCH-wiki
Comparaisons
| Filesystem | Manjaro | Win10 | OSX | Win9x, DOS |
|---|---|---|---|---|
| btrfs | ● btrfs-progs | ▷ ExtFS, WinBtrfs | - | - |
| ext2 | ● | ▷ ExtFS | ● | |
| ext3/4 | ● | ▷ ExtFS | ? | |
| reiser3 | ● reiser4progs | ▷ RFSTool | ? | - |
| NTFS | ○ ntfs-3g ▶ 5.15?? ntfs3 |
● | ? | |
| FAT32 | ● dosfstools | ● | ● | ● |
| exFAT | ▶ 5.4 exfatprogs | ● | ? | ? |
| HFS | ○ hfsprogs (AUR) | ? | ● | |
| XFS | ? | ▷ ExtFS | ? | |
| ZFS | ? | ? | ? | |
| F2FS | ? | ? | ? | |
| JFS | ? | ? | ? |
● = entièrement pris en charge, outils supplémentaires à installer ▶ = inclus depuis le noyau x.x.x ○ = partiellement pris en charge ▷ = possible via des outils externes ? = n'hésitez pas à l'étendre ;-)
| Properties | btrfs | ext4 | ext3 | ext2 | XFS | ZFS | F2FS | JFS |
|---|---|---|---|---|---|---|---|---|
| journaling | ● full | ● ordered | ● ordered | - | ● | |||
| barriers | ● | ● | ? | - | ||||
| checksum | ● full | ◎ metadata | - | - | ||||
| kompression | ●, zstd ▶ 4.14/5.1 |
- | - | - | ||||
| encryption | - | ▶ 4.13 | - | - | ||||
| snapshots | ● | - | - | - | ||||
| TRIM possible | ▶ 4.3 | ▶ 2.6.33 | - | - | ||||
| xattr, ACL | ACL | ACL | ? | ◎ | ACL | |||
| small repair | ● auto | ● fsck | ● fsck | ● fsck | ||||
| journal repair | ● auto 3.2 | ● fsck | ● fsck | ● fsck | ||||
| repair after power loss | ● auto, scrub | ● tune2fs, fsck | ? | - | ||||
| RAID | 0, 1, 10 | - | - | - | ||||
| since | 2009 | 2008 | 2001 | 1993 |