Changeset 2257 in MondoRescue
- Timestamp:
- Jul 5, 2009, 6:56:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-devices.c
r2242 r2257 1277 1277 char *command = NULL; 1278 1278 int retval; 1279 1280 assert_string_is_neither_NULL_nor_zerolength(device);1281 assert_string_is_neither_NULL_nor_zerolength(mountpoint);1282 1283 make_hole_for_dir(mountpoint);1284 1285 1279 #ifdef __FreeBSD__ 1286 1280 char *dev = NULL; 1287 1281 #else 1288 1282 char *options = NULL; 1289 mr_asprintf(&options, "ro"); 1290 #endif 1283 #endif 1284 1285 assert_string_is_neither_NULL_nor_zerolength(device); 1286 assert_string_is_neither_NULL_nor_zerolength(mountpoint); 1287 1288 make_hole_for_dir(mountpoint); 1291 1289 1292 1290 if (isdigit(device[0])) { 1293 1291 find_cdrom_device(device, FALSE); 1294 1292 } 1293 #ifndef __FreeBSD__ 1294 mr_asprintf(&options, "ro"); 1295 #endif 1296 1295 1297 if (g_ISO_restore_mode) { 1296 1298
Note:
See TracChangeset
for help on using the changeset viewer.