2
0

Explode overlay tar

This commit is contained in:
2021-02-23 00:32:51 +02:00
parent 2a48e50ade
commit 9327fe6000
10 changed files with 690 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/sh
volumes=$(mktemp)
unset partition
for partition in $(blkid -t TYPE=btrfs | cut -d ":" -f 1); do
echo "$partition \"$(butterknife-partition-size $partition)\"";
done > $volumes
if [ -z $partition ]; then
dialog --msgbox "Unable to detect any Butterknife filesystems" 0 0
return 1
else
dialog \
--menu "Select btrfs filesystem" 0 0 0 \
--file $volumes
fi
rm -f $volumes