Changeset 1741 in MondoRescue for branches/2.2.5/mondo/src/mondorestore
- Timestamp:
- Oct 30, 2007, 11:44:02 AM (17 years ago)
- Location:
- branches/2.2.5/mondo/src/mondorestore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/mondorestore/mondo-prep.c
r1645 r1741 2530 2530 strcpy(program, "mkfs.jfs"); 2531 2531 } else if (strcmp(format, "ext3") == 0) { 2532 strcpy(program, "mkfs -t ext 2 -F -j-q");2532 strcpy(program, "mkfs -t ext3 -F -q"); 2533 2533 } else if (strcmp(format, "minix") == 0) { 2534 2534 strcpy(program, "mkfs.minix"); -
branches/2.2.5/mondo/src/mondorestore/mondo-rstr-newt.c
r1645 r1741 253 253 strcpy(format_str, "ufs"); 254 254 #else 255 strcpy(format_str, "ext 2");255 strcpy(format_str, "ext3"); 256 256 #endif 257 257 size_str[0] = '\0'; -
branches/2.2.5/mondo/src/mondorestore/mondo-rstr-tools.c
r1740 r1741 574 574 update_progress_form(tmp); 575 575 strcpy(format, mountlist->el[lino].format); 576 /* BERLIOS: removed as it doen't make sens to not mount ext3 partitions as ext3 576 577 if (!strcmp(format, "ext3")) { 577 578 strcpy(format, "ext2"); 578 579 } 580 */ 579 581 res = mount_device(mountlist->el[lino].device, 580 582 mountlist->el[lino].mountpoint, … … 692 694 #endif 693 695 } else if (bkpinfo->backup_media_type == usb) { 694 sprintf(mount_cmd, "mount - r%s %s", bkpinfo->media_device, MNT_CDROM);696 sprintf(mount_cmd, "mount -t vfat %s %s", bkpinfo->media_device, MNT_CDROM); 695 697 } else if (strstr(bkpinfo->media_device, "/dev/")) { 696 698 #ifdef __FreeBSD__ … … 1011 1013 fatal_error("Cannot get USB device name from cfg file"); 1012 1014 } 1013 s trcpy(bkpinfo->media_device, value);1015 sprintf(bkpinfo->media_device, "%s1", value); 1014 1016 sprintf(tmp, "Backup medium is USB --- dev=%s", bkpinfo->media_device); 1015 1017 log_msg(2, tmp);
Note:
See TracChangeset
for help on using the changeset viewer.