Changeset 2937 in MondoRescue for branches/3.1/mondo/src/common/libmondo-verify.c
- Timestamp:
- Jan 28, 2012, 1:51:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo/src/common/libmondo-verify.c
r2508 r2937 987 987 verify_all_slices_on_CD(mountpoint); 988 988 989 mr_asprintf(tmp1, "umount %s", mountpoint);989 mr_asprintf(tmp1, "umount -d %s", mountpoint); 990 990 #ifdef __FreeBSD__ 991 991 ret += system(tmp1); … … 1118 1118 #ifdef __FreeBSD__ 1119 1119 ret = 0; 1120 mr_asprintf(command, "umount %s", mountpoint);1120 mr_asprintf(command, "umount -d %s", mountpoint); 1121 1121 ret += system(command); 1122 1122 ret += kick_vn(mddevice); 1123 1123 if (ret) { 1124 1124 #else 1125 mr_asprintf(command, "umount %s", mountpoint);1125 mr_asprintf(command, "umount -d %s", mountpoint); 1126 1126 if (system(command)) { 1127 1127 #endif … … 1136 1136 1137 1137 if (!does_file_exist(fname)) { 1138 mr_asprintf(command, "umount %s", bkpinfo->media_device);1138 mr_asprintf(command, "umount -d %s", bkpinfo->media_device); 1139 1139 run_program_and_log_output(command, 2); 1140 1140 mr_free(command);
Note:
See TracChangeset
for help on using the changeset viewer.