Last active
June 13, 2022 09:52
-
-
Save BeniaminK/b87fe19761b3749af803c612a35ee1e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VERSION=1.46.5 | |
sudo apt install build-essential | |
wget https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v$VERSION/e2fsprogs-$VERSION.tar.gz | |
tar xfz e2fsprogs-$VERSION.tar.gz | |
cd e2fsprogs-$VERSION | |
./configure | |
make -j8 | |
DISKS=$(ls /dev/disk/by-uuid) | |
for disk in ${DISKS} | |
do | |
DISK=$(readlink -f /dev/disk/by-uuid/${disk}) | |
echo ${DISK} | |
sudo ./dumpe2fs -fh ${DISK} 2>&1 | grep "features" | |
sudo fsck -y ${DISK} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment