search for: parse_disk_id

Displaying 3 results from an estimated 3 matches for "parse_disk_id".

2011 Jul 29
0
[PATCH node] fix dracut plugin wildcard handling
...storage_init=$(echo $storage_init | sed 's/;/,/') +storage_init="$(echo "$storage_init" | sed 's/;/,/')" oldIFS=$IFS lvm pvscan 2>/dev/null IFS="," -for dev in $storage_init; do +for dev in "$storage_init"; do device=$(IFS=$oldIFS parse_disk_id "$dev") echo "Wiping LVM from device: ${device}" IFS=$oldIFS diff --git a/scripts/ovirt-boot-functions b/scripts/ovirt-boot-functions index 8d9cda6..c7e54af 100644 --- a/scripts/ovirt-boot-functions +++ b/scripts/ovirt-boot-functions @@ -128,7 +128,7 @@ parse_disk_id()...
2011 Jul 29
0
[PATCH node] Add debugging info to dracut plugin
...e_init="$(echo "$storage_init" | sed 's/;/,/')" +info "Replaced all ';' with ',' : $storage_init" oldIFS=$IFS @@ -57,14 +63,17 @@ lvm pvscan 2>/dev/null IFS="," for dev in "$storage_init"; do device=$(IFS=$oldIFS parse_disk_id "$dev") + info "After parsing \"$dev\", we got \"$device\"" echo "Wiping LVM from device: ${device}" IFS=$oldIFS for i in $(lvm pvs --noheadings -o pv_name,vg_name --separator=, $device* 2>/dev/null); do pv="${i%%,...
2011 Aug 22
0
[PATCH node] handle wildcards appropriately in dracut plugin
...storage_init" | sed 's/\*/\\\*/')" +info "Escaped all asterisks: $storage_init" oldIFS=$IFS lvm pvscan 2>/dev/null IFS="," for dev in $storage_init; do + dev="$(echo "$dev" | sed 's/\\\*/\*/g')" device=$(IFS=$oldIFS parse_disk_id "$dev") info "After parsing \"$dev\", we got \"$device\"" echo "Wiping LVM from device: ${device}" -- 1.7.4.4