Changeset 2317 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-archive.c
- Timestamp:
- Aug 18, 2009, 2:36:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-archive.c
r2313 r2317 63 63 extern bool g_cd_recovery; 64 64 extern char *g_mondo_home; 65 /* 66 extern char *g_tmpfs_mountpt; 67 */ 68 extern char *g_serial_string; 65 66 /** 67 * The serial string (used to differentiate between backups) of the current backup. 68 */ 69 char *g_serial_string = NULL; 70 69 71 extern char *g_getfacl; 70 72 extern char *g_getfattr; … … 1213 1215 mr_asprintf(&data_disks_file, "%s/all.tar.gz", bkpinfo->tmpdir); 1214 1216 1215 mr_asprintf(&g_serial_string, "%s", call_program_and_get_last_line_of_output("dd if=/dev/urandom bs=16 count=1 2> /dev/null |hexdump | tr -s ' ' '0' | head -n1"));1216 strip_spaces(g_serial_string);1217 mr_asprintf(&g_serial_string, "%s", call_program_and_get_last_line_of_output("dd if=/dev/urandom bs=16 count=1 2> /dev/null | hexdump | tr -s ' ' '0' | head -n1")); 1218 mr_strip_spaces(g_serial_string); 1217 1219 mr_strcat(g_serial_string, "...word."); 1218 1220 log_msg(2, "g_serial_string = '%s'", g_serial_string);
Note:
See TracChangeset
for help on using the changeset viewer.