0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.135.186.233


Current Path : /snap/core22/1722/lib/cryptsetup/checks/
Upload File :
Current File : //snap/core22/1722/lib/cryptsetup/checks/ext2

#!/bin/sh

echo "WARNING: The check script $0 is deprecated. Please use check script blkid instead." >&2

not_fs=""
for fs in ext2 ext3 ext4 ext4dev; do
	/lib/cryptsetup/checks/blkid "$1" "$fs" >/dev/null || not_fs="$not_fs $fs"
done
if [ "$not_fs" = " ext2 ext3 ext4 ext4dev" ]; then
	echo " - The device $1 does not contain a valid ext2, ext3, ext4 or ext4dev filesystem."
	exit 1
fi