Changeset 2878 in MondoRescue for branches/2.2.9/mondo/src/common/libmondo-verify.c
- Timestamp:
- Oct 5, 2011, 1:20:58 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-verify.c
r2380 r2878 1026 1026 verify_all_slices_on_CD(mountpoint); 1027 1027 1028 mr_asprintf(&tmp1, "umount %s", mountpoint);1028 mr_asprintf(&tmp1, "umount -d %s", mountpoint); 1029 1029 #ifdef __FreeBSD__ 1030 1030 ret += system(tmp1); … … 1150 1150 #ifdef __FreeBSD__ 1151 1151 ret = 0; 1152 sprintf(command, "umount %s", mountpoint);1152 sprintf(command, "umount -d %s", mountpoint); 1153 1153 ret += system(command); 1154 1154 ret += kick_vn(mddevice); 1155 1155 if (ret) 1156 1156 #else 1157 sprintf(command, "umount %s", mountpoint);1157 sprintf(command, "umount -d %s", mountpoint); 1158 1158 if (system(command)) 1159 1159 #endif … … 1166 1166 } 1167 1167 if (!does_file_exist(fname)) { 1168 sprintf(command, "umount %s", bkpinfo->media_device);1168 sprintf(command, "umount -d %s", bkpinfo->media_device); 1169 1169 run_program_and_log_output(command, 2); 1170 1170 if (!bkpinfo->please_dont_eject
Note:
See TracChangeset
for help on using the changeset viewer.