Mkfs: Unterschied zwischen den Versionen
Erscheinungsbild
K Textersetzung - „== Parameter ==↵“ durch „== Argumente == “ |
K Textersetzung - „ “ durch „ “ |
||
| Zeile 22: | Zeile 22: | ||
| -V || --verbose || gibt ausführliche Meldungen aus, einschließlich aller dateisystemspezifischen Befehle | | -V || --verbose || gibt ausführliche Meldungen aus, einschließlich aller dateisystemspezifischen Befehle | ||
|- | |- | ||
| -h || --help | | -h || --help || zeigt eine kurze Hilfe an und beendet das Programm | ||
|- | |- | ||
|} | |} | ||
| Zeile 33: | Zeile 33: | ||
* Eingabe von '''mkfs''' und zweimaliges Drücken der Tabulator-Taste listet die verfügbaren Dateisysteme (bzw. die entsprechenden Programme zu deren Erstellung) auf: | * Eingabe von '''mkfs''' und zweimaliges Drücken der Tabulator-Taste listet die verfügbaren Dateisysteme (bzw. die entsprechenden Programme zu deren Erstellung) auf: | ||
# '''mkfs''' | # '''mkfs''' | ||
mkfs | mkfs mkfs.cramfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.ntfs | ||
mkfs.bfs | mkfs.bfs mkfs.exfat mkfs.ext3 mkfs.fat mkfs.msdos mkfs.vfat | ||
ohne explizite Angabe eines Dateisystemtyps wird ein Ext2-Dateisystem erstellt: | ohne explizite Angabe eines Dateisystemtyps wird ein Ext2-Dateisystem erstellt: | ||
| Zeile 42: | Zeile 42: | ||
Filesystem UUID: 95501238-e062-43ac-a92c-5d42444fa061 | Filesystem UUID: 95501238-e062-43ac-a92c-5d42444fa061 | ||
Superblock backups stored on blocks: | Superblock backups stored on blocks: | ||
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, | |||
4096000, 7962624, 11239424, 20480000, 23887872 | |||
Allocating group tables: done | Allocating group tables: done | ||
Writing inode tables: done | Writing inode tables: done | ||
Writing superblocks and filesystem accounting information: done | Writing superblocks and filesystem accounting information: done | ||
| Zeile 54: | Zeile 54: | ||
Filesystem UUID: 5d02f04a-ad69-459d-8d81-61ab9d7b25f5 | Filesystem UUID: 5d02f04a-ad69-459d-8d81-61ab9d7b25f5 | ||
Superblock backups stored on blocks: | Superblock backups stored on blocks: | ||
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, | |||
4096000, 7962624, 11239424, 20480000, 23887872 | |||
Allocating group tables: done | Allocating group tables: done | ||
Writing inode tables: done | Writing inode tables: done | ||
Creating journal (262144 blocks): done | Creating journal (262144 blocks): done | ||
Writing superblocks and filesystem accounting information: done | Writing superblocks and filesystem accounting information: done | ||
| Zeile 69: | Zeile 69: | ||
Filesystem UUID: 10199b90-499b-4f56-9ebf-434f0d923021 | Filesystem UUID: 10199b90-499b-4f56-9ebf-434f0d923021 | ||
Superblock backups stored on blocks: | Superblock backups stored on blocks: | ||
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, | |||
4096000, 7962624, 11239424, 20480000, 23887872 | |||
Allocating group tables: done | Allocating group tables: done | ||
Writing inode tables: done | Writing inode tables: done | ||
Creating journal (262144 blocks): done | Creating journal (262144 blocks): done | ||
Writing superblocks and filesystem accounting information: done | Writing superblocks and filesystem accounting information: done | ||
Aktuelle Version vom 14. Juni 2026, 00:47 Uhr
mkfs (make file system) - Erstellt Dateisysteme
Beschreibung
Installation
Syntax
# mkfs [Optionen] [-t Typ] [Dateisystemoptionen] Gerät [Größe]
Argumente
- Mögliche Geräte
- Festplattenpartitionen
- Dateien
Optionen
Ohne Angabe des Dateisystems (-t) wird ein Ext2-Dateisystem erstellt
| Option | Beschreibung | |
|---|---|---|
| -t | --type | gibt den Typ des zu erstellenden Dateisystems an |
| -V | --verbose | gibt ausführliche Meldungen aus, einschließlich aller dateisystemspezifischen Befehle |
| -h | --help | zeigt eine kurze Hilfe an und beendet das Programm |
Konfiguration
Dateien
Anwendung
mkfs ein Front-End für die eigentlichen Programme zur Dateisystemerstellung.
- Eingabe von mkfs und zweimaliges Drücken der Tabulator-Taste listet die verfügbaren Dateisysteme (bzw. die entsprechenden Programme zu deren Erstellung) auf:
# mkfs mkfs mkfs.cramfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.ntfs mkfs.bfs mkfs.exfat mkfs.ext3 mkfs.fat mkfs.msdos mkfs.vfat
ohne explizite Angabe eines Dateisystemtyps wird ein Ext2-Dateisystem erstellt:
# mkfs /dev/sdb1
mke2fs 1.44.5 (15-Dec-2018)
Creating filesystem with 61293573 4k blocks and 15327232 inodes
Filesystem UUID: 95501238-e062-43ac-a92c-5d42444fa061
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
Erstellung eines Ext4-Dateisystems durch Angabe des Typs mit der Option -t:
# mkfs -t ext4 /dev/sdb1
mke2fs 1.44.5 (15-Dec-2018)
Creating filesystem with 61293573 4k blocks and 15327232 inodes
Filesystem UUID: 5d02f04a-ad69-459d-8d81-61ab9d7b25f5
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
etwas ausführlichere Ausgabe durch Angabe der Option -V:
# mkfs -V -t ext4 /dev/sdb1
mkfs from util-linux 2.33.1
mkfs.ext4 /dev/sdb1
mke2fs 1.44.5 (15-Dec-2018)
Creating filesystem with 61293573 4k blocks and 15327232 inodes
Filesystem UUID: 10199b90-499b-4f56-9ebf-434f0d923021
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done