mke2fs Flashcards
1
Q
mke2fs
A
mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition (or file) named by device.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/400/141/a_image_thumb.png?1591473019)
2
Q
mke2fs
- b
- c
- d
- D
- e
- E
A
- b block-size
- c, Check
- d root-directory, Copy contents of directory.
- D, Use direct I/O when writing.
- e error-behavior, continue, remount-ro, panic
- E extended options.
3
Q
mke2fs
- F
- g
- G
- i
- I
- j
A
- F, Force
- g blocks-per-group, Specify blocks in a block group.
- G number-of-groups, Specify number of block groups.
- i bytes-per-inode, Set bytes/inode ratio.
- I inode-size, Set inode size.
- j, Create the filesystem with an ext3 journal.
4
Q
mke2fs
- J
- l
- L
- m
- M
- n
A
- J journal-options, size=journal-size, location=journal-location, device=external-journal.
- l filename, Read bad blocks from filename.
- L new-volume-label, Set volume label.
- m reserved-blocks-percentage
- M last-mounted-directory
- n, Dry run
5
Q
mke2fs
- N number-of-inodes
- o creator-os
- q, quiet.
- r revision
- S, Write superblock and group descriptors.
- t fs-type, Specify fs-type.
A
- T usage-type[…], Specify how the fs will be used.
- U UUID, Set the UUID, can be set to: clear, random, time.
- v, Verbose
- z undo_file