OXIESEC PANEL
- Current Dir:
/
/
lib
/
cryptsetup
/
checks
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:02 AM
rwxr-xr-x
📄
blkid
1.02 KB
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
ext2
387 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
swap
148 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
un_blkid
827 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
xfs
147 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
Editing: ext2
Close
#!/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