/
snap
/
core20
/
2769
/
usr
/
lib
/
cryptsetup
/
checks
/
/snap/core20/2769/usr/lib/cryptsetup/checks
mkdir
upload
Name
Size
Mode
Actions
blkid
1045
0755
edit
dl
rm
ext2
387
0755
edit
dl
rm
swap
148
0755
edit
dl
rm
un_blkid
832
0755
edit
dl
rm
xfs
147
0755
edit
dl
rm
Edit:
/snap/core20/2769/usr/lib/cryptsetup/checks/ext2
(387B)
#!/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
Save
cmd:
run