Changeset 1691 in MondoRescue
- Timestamp:
- Oct 21, 2007, 2:27:53 AM (17 years ago)
- Location:
- branches/2.2.5
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1690 r1691 28 28 # run this command. 29 29 30 MINDI_REV= RRR31 MINDI_VER= VVV30 MINDI_REV=PBREV 31 MINDI_VER=PBVER 32 32 33 33 MINDI_VERSION=${MINDI_VER}-r$MINDI_REV … … 1710 1710 fi 1711 1711 echo -en "." 1712 echo "Unmounting $USBDEVICE just in case" >> $LOGFILE 1713 umount $USBDEVICE 2>&1 >> $LOGFILE 1712 1714 echo "Erasing $USBDEVICE" >> $LOGFILE 1713 1715 $FDISK $USBDEVICE 2>&1 >> $LOGFILE << EOF … … 1752 1754 fi 1753 1755 echo -en "." 1754 mkdir -p $MINDI_TMP/usb/ {images,archives}1755 cp -f $1/*.img $1/*.gz $MINDI_TMP/usb/images 2>> $LOGFILE || LogIt "OfferToMakeBootableUSB: Cannot copy $i to $MINDI_TMP/ iso/images"1756 mkdir -p $MINDI_TMP/usb/images 1757 cp -f $1/*.img $1/*.gz $MINDI_TMP/usb/images 2>> $LOGFILE || LogIt "OfferToMakeBootableUSB: Cannot copy $i to $MINDI_TMP/usb/images" 1756 1758 echo -en "." 1757 1759 old_pwd=`pwd` … … 1777 1779 cp $MINDI_TMP/mindi.rdz $MINDI_TMP/usb/initrd.img 2>> $LOGFILE 1778 1780 echo -en "." 1779 if [ _"$MONDO_SHARE" != _"" ]; then1780 cp $kernelpath $MONDO_ROOT/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?"1781 cp $MINDI_TMP/mindi.rdz $MONDO_ROOT/initrd.img 2> /dev/null || Die "Cannot copy mindi.rdz ($MINDI_TMP) to mondo root ($MONDO_ROOT/initrd.img). Did you run out of disk space?"1782 1783 fi1784 echo -en "."1785 1781 [ -e "$iso_cfg_file" ] || Die "FIXME - unable to find $iso_cfg_file - this should never occur" 1786 1782 cat $sys_cfg_file | HackSyslinuxFile $ramdisk_size $MINDI_TMP/usb > syslinux.cfg || Die "Cannot copy syslinux.cfg from mindi_home to $MINDI_TMP/usb - did you run out of disk space?" … … 1793 1789 if [ "$ARCH" != "ia64" ] ; then 1794 1790 if [ _"$MONDO_SHARE" != _"" ]; then 1795 cp -f $MINDI_TMP/usb/{syslinux.cfg,initrd.img,vmlinuz,message.txt} $MONDO_ROOT 2>> $LOGFILE || Die "Cannot copy core files to ramdisk for boot disk (under $MONDO_ROOT). Did you run out of disk space?"1796 1791 cp -f $MONDO_SHARE/autorun $MONDO_ROOT 2>> $LOGFILE 1797 1792 fi -
branches/2.2.5/mondo-doc/mindi.8
r1686 r1691 21 21 .\" USA. 22 22 .\" 23 .TH MINDI 8 " DDD" "Mondo Rescue VVV-rRRR"23 .TH MINDI 8 "PBDATE" "Mondo Rescue PBVER-rPBREV" 24 24 .SH NAME 25 25 mindi \- a tool for creating boot/root disks -
branches/2.2.5/mondo-doc/mondoarchive.8
r1495 r1691 19 19 .\" USA. 20 20 .\" 21 .TH mondoarchive 8 " DDD" "Mondo Rescue VVV-rRRR"21 .TH mondoarchive 8 "PBDATE" "Mondo Rescue PBVER-rPBVER" 22 22 23 23 .SH NAME -
branches/2.2.5/mondo-doc/mondorescue-howto.sgml
r1611 r1691 1 1 <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ 2 <!ENTITY curdate " DDD">3 <!ENTITY curver " VVV-rRRR">2 <!ENTITY curdate "PBDATE"> 3 <!ENTITY curver "PBVER-rPBREV"> 4 4 5 5 <!ENTITY WWWB "http://www.mondorescue.org/"> -
branches/2.2.5/mondo-doc/mondorestore.8
r1494 r1691 19 19 .\" USA. 20 20 .\" 21 .TH mondorestore 8 " DDD" "Mondo Rescue VVV-rRRR"21 .TH mondorestore 8 "PBDATE" "Mondo Rescue PBVER-rPBREV" 22 22 23 23 .SH NAME -
branches/2.2.5/mondo/src/common/libmondo-archive.c
r1689 r1691 1857 1857 * @return The number of errors encountered (0 for success) 1858 1858 */ 1859 int make_usb_fs( char *destfile)1859 int make_usb_fs() 1860 1860 { 1861 1861 /*@ int ********************************************** */ … … 1872 1872 malloc_string(old_pwd); 1873 1873 assert(bkpinfo != NULL); 1874 assert_string_is_neither_NULL_nor_zerolength(destfile); 1875 1876 log_msg(2, "make_usb_fs --- scratchdir=%s --- destfile=%s", 1877 bkpinfo->scratchdir, destfile); 1874 1875 log_msg(2, "make_usb_fs --- scratchdir=%s", bkpinfo->scratchdir); 1878 1876 (void) getcwd(old_pwd, MAX_STR_LEN - 1); 1879 1877 asprintf(&tmp, "chmod 755 %s", bkpinfo->scratchdir); … … 1898 1896 run_program_and_log_output(tmp, FALSE); 1899 1897 paranoid_free(tmp); 1900 asprintf(&tmp, "mount %s %s", bkpinfo->media_device, tmp1); 1898 /* Mindi always create one single parition on the USB dev */ 1899 asprintf(&tmp, "mount %s1 %s", bkpinfo->media_device, tmp1); 1901 1900 run_program_and_log_output(tmp, FALSE); 1902 1901 paranoid_free(tmp); … … 1907 1906 log_msg(1, "Making bootable backup"); 1908 1907 1909 asprintf(&tmp,"cp -rp %s/* %s", bkpinfo->scratchdir, tmp1); /* Command to execute */ 1908 /* Command to execute */ 1909 asprintf(&tmp,"mv %s/.??* %s/* %s", bkpinfo->scratchdir, bkpinfo->scratchdir, tmp1); 1910 1910 res = eval_call_to_make_USB(tmp, message_to_screen); 1911 1911 if (res) { … … 1923 1923 1924 1924 if (is_this_device_mounted(bkpinfo->media_device)) { 1925 asprintf(&tmp, "umount %s ", bkpinfo->media_device);1925 asprintf(&tmp, "umount %s1", bkpinfo->media_device); 1926 1926 run_program_and_log_output(tmp, FALSE); 1927 1927 paranoid_free(tmp); … … 1935 1935 return (retval); 1936 1936 } 1937 1938 1937 1939 1938 … … 3937 3936 res = make_iso_fs(isofile); 3938 3937 } else { 3939 res = make_usb_fs( isofile);3938 res = make_usb_fs(); 3940 3939 } 3941 3940 if (g_current_media_number == 1 && !res -
branches/2.2.5/website/top.shtml
r785 r1691 15 15 </div> 16 16 <div id="topinfo"> 17 VVV-rRRR - DDD</div>17 PBVER-rPBREV - PBDATE </div> 18 18 </div> 19 19 <div id="body">
Note:
See TracChangeset
for help on using the changeset viewer.