Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / lib / cryptsetup / checks / | server ip : 172.67.156.115 your ip : 172.70.80.171 H O M E |
Filename | /lib/cryptsetup/checks/ext2 |
Size | 387 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 10:01 |
Last modified | 02-Nov-2013 01:50 |
Last accessed | 05-Jul-2025 18:30 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
echo "WARNING: The check script $0 is depreciated. 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
echo "WARNING: The check script $0 is depreciated. 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