search for: sddev

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

Did you mean: sdev
2013 Apr 24
7
[PATCH] hotplug/Linux: add iscsi block hotplug script
...puts the block device major:minor +device_major_minor() +{ + stat -L -c %t:%T "$1" +} + +# Sets $dev to point to the device associated with the value in iqn +find_device() +{ + while [ ! -e /dev/disk/by-path/*"$iqn"-lun-0 ]; do + sleep 0.1 + done + set +e + sddev=$(readlink -f /dev/disk/by-path/*"$iqn"-lun-0) + set -e + if [ ! -b "$sddev" ]; then + echo "Unable to find attached device path" + return 1 + fi + if [ "$multipath" = "y" ]; then + mdev=$(multipath -ll "$sddev&...
2025 May 24
0
Bug#1106420: xen-utils-common: block-iscsi script doesn't work when iqn is a prefix of an existing iqn
...ot;-lun-0 ]; do + while [ ! -e /dev/disk/by-path/*"$iqn"-lun-"${LUN}" ]; do sleep 1 count=`expr $count + 1` if [ count = 100 ]; then @@ -81,7 +86,7 @@ fatal "timeout waiting for iSCSI disk to settle" fi done - sddev=$(readlink -f /dev/disk/by-path/*"$iqn"-lun-0 || true) + sddev=$(readlink -f /dev/disk/by-path/*"$iqn"-lun-"${LUN}" || true) if [ ! -b "$sddev" ]; then fatal "Unable to find attached device path" fi @@ -109,9 +114,9 @@ prepare...
2005 Sep 12
3
Covert list of list to dataframe for export or outputting by(test) output
...84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96")) attach(AKCCR) Means <- tapply( AdjRes, list(Compound.Name,ExposureUnit), mean , na.rm = TRUE) SdDev <- tapply( AdjRes, list(Compound.Name,ExposureUnit), sd , na.rm = TRUE) Samples <- tapply( AdjRes, list(Compound.Name,ExposureUnit), function(x) sum(!is.na(x))) #ttest <- by(AKCCR, AKCCR$Compound.Name, function(AKCCR) t.test(AdjRes ~ ExposureUnit, data = AKCCR)) WRS <- by(AKCCR, AKCCR$C...