- Timestamp:
- Jan 27, 2011, 7:31:20 PM (14 years ago)
- Location:
- branches/2.2.10
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/analyze-my-lvm
r2696 r2703 134 134 if [ $lvmversion = 2 ]; then 135 135 VG_params=`GenerateVgcreateParameters $current_VG` 136 current_PVs=`$LVMCMD pvs | grep " $current_VG " | awk '{print $1}'`136 current_PVs=`$LVMCMD pvscan | grep " $current_VG " | awk '{print $2}' | tr '\n' ' '` 137 137 list_of_devices=$current_PVs 138 138 else … … 142 142 list_of_devices="" 143 143 for i in $physical_volumes ; do 144 145 146 144 fname=/proc/lvm/VGs/$current_VG/PVs/$i 145 device=`GetValueFromField $fname "name:"` 146 list_of_devices="$list_of_devices $device" 147 147 done 148 148 current_PVs=$list_of_devices -
branches/2.2.10/mindi/deplist.d/minimal-net.conf
r2445 r2703 12 12 /sbin/mount.nfs 13 13 /sbin/mount.nfs4 14 /etc/rpc 15 /etc/netconfig 14 16 /usr/bin/sshfs 15 17 /sbin/mount.fuse -
branches/2.2.10/mindi/mindi-bkphw
r2696 r2703 54 54 chomp($tool); 55 55 $tooldir = dirname($tool); 56 if (! (- e$tool)) {56 if (! (-x $tool)) { 57 57 print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n"; 58 58 print "Get it from http://www.hp.com/servers/sstoolkit\n"; … … 73 73 print TOOLS "$tooldir/bld\n"; 74 74 } 75 if ($tool =~ /\/ .hpacucli$/) {75 if ($tool =~ /\/hpacucli$/) { 76 76 my $dir=basename($tool); 77 77 $ret = system("export ACUXE_BIN_INSTALLATION_DIR=$dir ; export IM_CFGFILE_PATH=$dir ; export ACUXE_LOCK_FILES_DIR=$dir/locks ; $tool -c $bkpdir/hpacucli.dat"); -
branches/2.2.10/mondo/src/common/newt-specific.c
r2508 r2703 453 453 if (!strncmp(err_log_lines[i], "root:", 5)) { 454 454 mr_asprintf(tmp, "%s", err_log_lines[i] + 6); 455 str cpy(err_log_lines[i], tmp);455 strncpy(err_log_lines[i], tmp, (size_t)MAX_NEWT_COMMENT_LEN); 456 456 mr_free(tmp); 457 457 } … … 486 486 487 487 va_start(args, fmt); 488 vs printf(output, fmt, args);488 vsnprintf(output, MAX_STR_LEN-1, fmt, args); 489 489 log_msg(0, output); 490 490 output[80] = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.