install.sh: free space detection, btrfs online resize, sfdisk, partition naming + install.md fix #14
@@ -98,7 +98,7 @@ collect_partitions() {
|
||||
[[ "$LABEL" == "$OEMDRV_LABEL" ]] && continue
|
||||
[[ -z "$PKNAME" ]] && continue
|
||||
|
||||
local disk="/dev/$PKNAME"
|
||||
local disk="/dev/${PKNAME##*/}"
|
||||
local pnum
|
||||
pnum=$(cat /sys/class/block/"${NAME##/dev/}"/partition 2>/dev/null) || continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user