Changeset 1741 in MondoRescue for branches/2.2.5/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Oct 30, 2007, 11:44:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.