Changeset 3876 in MondoRescue for branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Mar 8, 2024, 3:31:58 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
r3874 r3876 89 89 extern void kill_anything_like_this(char *str); 90 90 extern int skip_obdr(void); 91 extern int mount_media();92 91 extern int set_tape_block_size_with_mt(long internal_tape_block_size); 93 92 … … 362 361 } 363 362 if (!IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) { 364 mount_media( );363 mount_media(MNT_CDROM); 365 364 } 366 365 i = what_number_cd_is_this(); /* has the side-effect of calling mount_media() */ … … 984 983 mr_free(bkpinfo->isodir); 985 984 iso_mnt[0] = iso_path[0] = '\0'; 986 if (mount_media( )) {985 if (mount_media(MNT_CDROM)) { 987 986 mr_free(tmp1); 988 987 fatal_error("Unable to mount isodir. Failed to mount CD-ROM as well."); … … 2165 2164 } else { 2166 2165 log_msg(2, "gcffa --- calling mount_media now :)"); 2167 if (!mount_media( )) {2166 if (!mount_media(MNT_CDROM)) { 2168 2167 log_msg(2, "gcffa --- managed to mount CD; so, no need for Plan B"); 2169 2168 try_plan_B = FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.