Changeset 1489 in MondoRescue
- Timestamp:
- Jun 6, 2007, 1:46:19 AM (18 years ago)
- Location:
- branches/stable
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/analyze-my-lvm
r1063 r1489 53 53 GenerateLvcreateParameters() { 54 54 local device stripes stripesize device fname allocation output readahead 55 fname= /tmp/PLF.$$.txt55 fname=$MINDI_TMP/PLF.$$.txt 56 56 device=$1 57 57 output="" … … 81 81 local current_VG device fname incoming VG_info_file max_logical_volumes max_physical_volumes physical_extent_size output blanklines 82 82 current_VG=$1 83 VG_info_file= /tmp/$$.vg-info.txt83 VG_info_file=$MINDI_TMP/$$.vg-info.txt 84 84 $LVMCMD vgdisplay $current_VG > $VG_info_file 85 85 max_logical_volumes=`GetValueFromField "$VG_info_file" "MAX LV"` -
branches/stable/mindi/mindi
r1468 r1489 114 114 BOOT_MEDIA_MESSAGE="$mindi_boot_msg" 115 115 FDISK=$MINDI_SBIN/parted2fdisk 116 MINDI_TMP=`mktemp -d $TMPDIR/mindi.XXXXXXXXXX` 116 117 # Now we can create what we need 118 export MINDI_TMP=`mktemp -d $TMPDIR/mindi.XXXXXXXXXX` 117 119 118 120 # ---------------------------------------------------------------------------- … … 473 475 echo -en "." 474 476 reason="" 475 vanilla_lib_name=`echo "$optimized_lib_name" | sed -e 's/i[5-7]86//' -e 's/cmov//' | tr -s '/' '/'`477 vanilla_lib_name=`echo "$optimized_lib_name" | sed -e 's/i[5-7]86//' -e 's/cmov//' -e 's/nosegneg//' | tr -s '/' '/'` 476 478 echo "$vanilla_lib_name" >> $filelist 477 479 resolved=$vanilla_lib_name … … 868 870 869 871 # scan kernel image for initrd filessystem support 870 lvScanRes=`dd ibs=1 skip=$lvOffset if=$lvKernelImage obs=1M 2>/dev/null | gunzip -c | strings | grep -e "$lcMagicCramfs" -e "$lcMagicExt2fs" -e "$lcMagicInitfs"`872 lvScanRes=`dd ibs=1 skip=$lvOffset if=$lvKernelImage obs=1M 2>/dev/null | gunzip -c 2> /dev/null | strings | grep -e "$lcMagicCramfs" -e "$lcMagicExt2fs" -e "$lcMagicInitfs"` 871 873 872 874 # determine which filesystem to use for initrd image: ext2fs, gzip'ed cpio (initramfs ) or cramfs … … 3126 3128 mv $MINDI_TMP/* $MINDI_TMP/.??* $MONDO_TMP 2> /dev/null 3127 3129 rmdir $MINDI_TMP 3128 MINDI_TMP=$MONDO_TMP3130 export MINDI_TMP=$MONDO_TMP 3129 3131 mkdir -p $MINDI_TMP 3130 3132 # This is the scratch dir in mondo -
branches/stable/mondo-doc/mindi.8
r1063 r1489 180 180 which overwrites default values described in 181 181 .B mindi.conf.dist 182 in the same directory. 182 in the same directory. (Cf comments in this file) 183 183 .br 184 184 .SH "SEE ALSO" -
branches/stable/mondo-doc/mondoarchive.8
r1338 r1489 173 173 .BI "-N" 174 174 Exclude all mounted network filesystems. This currently means NFS, SMB, Coda, MVFS, AFS 175 and Netware. In other words, only backup the local hard disk(s).175 OCFS and Netware. In other words, only backup the local hard disk(s). 176 176 177 177 .TP -
branches/stable/mondo/src/common/libmondo-devices.c
r1452 r1489 2010 2010 strcpy(exclude_these_directories, 2011 2011 call_program_and_get_last_line_of_output 2012 ("mount -t coda,ncpfs,nfs,smbfs,cifs,afs, mvfs | tr -s '\t' ' ' | cut -d' ' -f3 | tr -s '\n' ' ' | awk '{print $0;}'"));2012 ("mount -t coda,ncpfs,nfs,smbfs,cifs,afs,ocfs,ocfs2,mvfs | tr -s '\t' ' ' | cut -d' ' -f3 | tr -s '\n' ' ' | awk '{print $0;}'")); 2013 2013 strcpy(exclude_these_devices, 2014 2014 call_program_and_get_last_line_of_output 2015 ("tr -s '\t' ' ' < /etc/fstab | grep -E '( (coda|ncpfs|nfs|smbfs|cifs| mvfs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'"));2015 ("tr -s '\t' ' ' < /etc/fstab | grep -E '( (coda|ncpfs|nfs|smbfs|cifs|afs|ocfs|ocfs2|mvfs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'")); 2016 2016 sprintf(result_sz, "%s", exclude_these_directories); 2017 2017 mr_free(exclude_these_devices); … … 2041 2041 mr_asprintf(&tmp, 2042 2042 call_program_and_get_last_line_of_output 2043 ("df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,afs, mvfs | tr -s '\t' ' ' | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));2043 ("df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,afs,ocfs,ocfs2,mvfs | tr -s '\t' ' ' | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'")); 2044 2044 #else 2045 2045 mr_asprintf(&tmp, 2046 2046 call_program_and_get_last_line_of_output 2047 ("df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x afs -x mvfs | sed 's/ /devdev/' | tr -s '\t' ' ' | grep -vE \"none|Filesystem|/dev/shm\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));2047 ("df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x afs -x ocfs -x ocfs2 -x mvfs | sed 's/ /devdev/' | tr -s '\t' ' ' | grep -vE \"none|Filesystem|/dev/shm\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'")); 2048 2048 #endif 2049 2049 -
branches/stable/tools/DISTROS
r1474 r1489 9 9 fedora_5 10 10 fedora_6 11 rhel_2.1 11 12 rhel_3 12 13 rhel_4 … … 19 20 debian_3.1 20 21 debian_4.0 22 ubuntu_6.04 21 23 ubuntu_7.04 22 24 gentoo_1.6 -
branches/stable/tools/qemu-vm.txt
r1481 r1489 85 85 rpm -ivh ~bruno/build/RPMS/i?86/afio-[0-9]* ~bruno/build/RPMS/i?86/buffer-[0-9]* 86 86 87 # Adapt sudoers 88 89 # For RHAS 2.1 add grep-2.5.1 90 87 91 #for gentoo 88 92 chown bruno /etc/make.conf
Note:
See TracChangeset
for help on using the changeset viewer.