Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ext4 tweaks
parted /dev/sda
> mklabel msdos
> mkpart primary ext2 0% 128MB
> mkpart primary linux-swap 128MB 2176MB
> mkpart primary ext2 2176MB 2688MB
> mkpart primary ext3 2688MB 100%
> set 1 boot on
mkfs.ext4 -b 4096 -E "lazy_itable_init=1" -G 128 -i 4096 -I 256 »
-L "Puzzles' Journal" -m "0.5" -M "/" »
-O "none,large_file,huge_file,dir_index,filetype,flex_bg,extent,uninit_bg,sparse_super,ext_attr,dir_nlink,journal_dev" »
-t "ext4" /dev/sda3
mkfs.ext4 -b 4096 -E "lazy_itable_init=1" -G 128 -i 4096 -I 256 »
-j -J "device=/dev/sda3" -L "Puzzles' HD" -m "0.5" -M "/" »
-O "none,large_file,huge_file,dir_index,filetype,flex_bg,extent,uninit_bg,sparse_super,ext_attr,dir_nlink" »
-t "ext4" /dev/sda4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment