search for: drive_in

Displaying 6 results from an estimated 6 matches for "drive_in".

Did you mean: drive_if
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...ions +++ b/scripts/ovirt-functions @@ -326,7 +326,7 @@ mount_boot() { return 0 fi mkdir -p /boot - mount LABEL=Root /boot + mount LABEL=Boot /boot } # stop any service which keeps /var/log busy # keep the list of services @@ -865,23 +865,32 @@ get_part_info() { local drive_in="$1" local dev_var=$2 local part_var=$3 + local grub_dev=$4 local devname_1 devname2 part_number local rc=0 - eval $(readlink -f "$drive_in" |awk {' - print "devname_1=" substr($1,1,length($1)-1); - print "devname_2=&q...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...ions +++ b/scripts/ovirt-functions @@ -326,7 +326,7 @@ mount_boot() { return 0 fi mkdir -p /boot - mount LABEL=Root /boot + mount LABEL=Boot /boot } # stop any service which keeps /var/log busy # keep the list of services @@ -865,23 +865,32 @@ get_part_info() { local drive_in="$1" local dev_var=$2 local part_var=$3 + local grub_dev=$4 local devname_1 devname2 part_number local rc=0 - eval $(readlink -f "$drive_in" |awk {' - print "devname_1=" substr($1,1,length($1)-1); - print "devname_2=&q...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...quot;) ]; then + local dm_device="$dm" rc=0 break fi done - eval $return_var=$dm_device + eval $return_var="$dm_device" return $rc } #Function to determine partition and device names get_part_info() { - local drive_in=$1 + local drive_in="$1" local dev_var=$2 local part_var=$3 local devname_1 devname2 part_number local rc=0 - eval $(readlink -f $drive_in|awk {' + eval $(readlink -f "$drive_in" |awk {' print "devname_1=" substr($1,1,leng...
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
...ath -v3 diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index c2ef94b..b98e31a 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -851,6 +851,39 @@ get_dm_device () return $rc } +#Function to determine partition and device names +get_part_info() { + local drive_in=$1 + local dev_var=$2 + local part_var=$3 + local devname_1 devname2 part_number + local rc=0 + + eval $(readlink -f $drive_in|awk {' + print "devname_1=" substr($1,1,length($1)-1); + print "devname_2=" substr($1,1,length($1)-2); + part_nu...
2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
...ath -v3 diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index c2ef94b..0c30890 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -851,6 +851,33 @@ get_dm_device () return $rc } +#Function to determine partition and device names +get_part_info() { + local drive_in=$1 + local dev_var=$2 + local part_var=$3 + local devname_1 devname2 part_number + local rc=0 + + eval $(readlink -f /dev/disk/by-label/$grub_dev_label|awk {' + print "devname_1=" substr($1,1,length($1)-1); + print "devname_2=" substr($1,1,length...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
...ath -v3 diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index c2ef94b..b98e31a 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -851,6 +851,39 @@ get_dm_device () return $rc } +#Function to determine partition and device names +get_part_info() { + local drive_in=$1 + local dev_var=$2 + local part_var=$3 + local devname_1 devname2 part_number + local rc=0 + + eval $(readlink -f $drive_in|awk {' + print "devname_1=" substr($1,1,length($1)-1); + print "devname_2=" substr($1,1,length($1)-2); + part_nu...