Skip to content

Instantly share code, notes, and snippets.

@sjc2870
sjc2870 / mount.sh
Last active May 9, 2023 01:05
used for testing the performance of replacing xattr in ext4
img=/dev/sdb1
dir=/mnt/ext4
file=$dir/file1
mkdir -p $dir
umount $dir
mke2fs -Fq -t ext4 -I 256 -O ea_inode $img
mount $img $dir