Files
tldr/pages.fr/linux/btrfs.md

26 lines
756 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# btrfs
> Système de fichiers basé sur le principe de copie à lécriture ("copy-on-write", souvent désigné par son sigle anglais COW) pour Linux.
> Certaines sous-commandes comme `device` ont leur propre documentation.
> Plus d'informations : <https://btrfs.readthedocs.io/en/latest/btrfs.html>.
- Créer un sous-volume :
`sudo btrfs subvolume create {{chemin/vers/sous_volume}}`
- Lister les sous-volumes :
`sudo btrfs subvolume list {{chemin/vers/point_de_montage}}`
- Afficher les informations d'utilisation d'espace :
`sudo btrfs filesystem df {{chemin/vers/point_de_montage}}`
- Activer les quotas :
`sudo btrfs quota enable {{chemin/vers/sous_volume}}`
- Afficher les quotas :
`sudo btrfs qgroup show {{chemin/vers/sous_volume}}`