Changeset 1384 in MondoRescue
- Timestamp:
- Apr 30, 2007, 7:19:08 PM (18 years ago)
- Location:
- branches/stable/mondo/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-tools.h
r1377 r1384 45 45 double get_kernel_version(void); 46 46 char *get_architecture(void); 47 char *get_uname_m();48 47 bool does_nonMS_partition_exist(void); 49 48 void stop_magicdev_if_necessary(void); -
branches/stable/mondo/src/mondoarchive/mondoarchive.c
r1378 r1384 20 20 #include "mondostructures.h" 21 21 #include "libmondo.h" 22 #include "libmondo-tools.h"23 22 #include "mondo-cli-EXT.h" 24 23 … … 49 48 extern t_bkptype g_backup_media_type; 50 49 extern int g_loglevel; 50 51 extern char *get_uname_m(); 51 52 52 53 static char *g_cdrom_drive_is_here = NULL; -
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1376 r1384 838 838 if (bkpinfo->backup_media_type == cdstream) { 839 839 strcpy(bkpinfo->media_device, "/dev/cdrom"); 840 bkpinfo->media_size = (long)1999 *1024;840 bkpinfo->media_size = (long)1999*1024; 841 841 bkpinfo->media_size = (long)650; /* good guess */ 842 842 } else if (bkpinfo->backup_media_type == tape … … 852 852 } else { 853 853 strcpy(bkpinfo->media_device, "/dev/cdrom"); /* we don't really need this var */ 854 bkpinfo->media_size = (long)1999 *1024; /* 650, probably, but we don't need this var anyway */855 bkpinfo->media_size = (long)1999 *1024; /* 650, probably, but we don't need this var anyway */854 bkpinfo->media_size = (long)1999*1024; /* 650, probably, but we don't need this var anyway */ 855 bkpinfo->media_size = (long)1999*1024; /* 650, probably, but we don't need this var anyway */ 856 856 mr_msg(2, "Backup medium is CD-R[W]"); 857 857 } … … 1476 1476 if (res) { 1477 1477 mvaddstr_and_log_it(g_currentY++, 74, _("Failed.")); 1478 log_to_screen 1479 (_("GRUB ran w/error(s). See %s for more info."), MONDO_LOGFILE); 1478 log_to_screen(_("GRUB ran w/error(s). See %s for more info."), MONDO_LOGFILE); 1480 1479 mr_msg(1, "Type:-"); 1481 1480 mr_msg(1, " mount-me"); … … 1744 1743 if (res) { 1745 1744 mvaddstr_and_log_it(g_currentY++, 74, _("Failed.")); 1746 log_to_screen 1747 (_("MBR+fstab processed w/error(s). See %s for more info."), MONDO_LOGFILE); 1745 log_to_screen(_("MBR+fstab processed w/error(s). See %s for more info."), MONDO_LOGFILE); 1748 1746 } else { 1749 1747 mvaddstr_and_log_it(g_currentY++, 74, _("Done."));
Note:
See TracChangeset
for help on using the changeset viewer.