Changeset 1904 in MondoRescue for branches/stable/mondo
- Timestamp:
- Apr 10, 2008, 1:20:42 AM (16 years ago)
- Location:
- branches/stable/mondo
- Files:
-
- 1 deleted
- 5 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-archive.c
r1903 r1904 2907 2907 2908 2908 (void) fwrite((void *) &biggiestruct, 1, sizeof(biggiestruct), fout); 2909 mr_fclose(fout); 2909 if (fout) { 2910 mr_fclose(fout); 2911 } 2910 2912 length = totallength / optimal_set_size / 1024; 2911 2913 mr_msg(1, "Opening in %s; slicing it and writing to CD/tape", -
branches/stable/mondo/src/common/libmondo-mountlist.c
r1663 r1904 847 847 mountlist->el[items].mountpoint, 848 848 mountlist->el[items].format, 849 siz, mountlist->el[items].label , mountlist->el[items].uuid);849 siz, mountlist->el[items].label); 850 850 #elif __FreeBSD__ 851 851 sscanf(incoming, … … 855 855 mountlist->el[items].format, siz); 856 856 strcpy(mountlist->el[items].label, ""); 857 strcpy(mountlist->el[items].uuid, "");858 857 #endif 859 858 … … 910 909 mountlist->el[items].format, 911 910 mountlist->el[items].size, 912 mountlist->el[items].label, 913 mountlist->el[items].uuid); 911 mountlist->el[items].label); 914 912 items++; 915 913 } … … 953 951 mountlist->el[i].device, mountlist->el[i].mountpoint, 954 952 mountlist->el[i].format, mountlist->el[i].size, 955 mountlist->el[i].label , mountlist->el[i].uuid);953 mountlist->el[i].label); 956 954 } 957 955 paranoid_fclose(fout); -
branches/stable/mondo/src/common/libmondo-stream.c
r1903 r1904 850 850 851 851 /*@ long ***************************************************** */ 852 long bytes_to_write = 0 ;852 long bytes_to_write = 0L; 853 853 854 854 /*@ long long *************************************************** */ -
branches/stable/mondo/src/common/mondostructures.h
r1817 r1904 35 35 36 36 /** 37 * For ext2 and ext3, this is the filesystem label (if there is one). If not, this should be "".37 * For ext2 and ext3, this is the filesystem label or uuid (if there is one). If not, this should be "". 38 38 */ 39 39 char label[256]; 40 40 41 /**42 * This is the filesystem UUID (if there is one). If not, this should be "".43 */44 char uuid[64];45 41 }; 46 42 -
branches/stable/mondo/src/mondorestore/mondorestore.c
r1903 r1904 2883 2883 make_hole_for_dir(MONDO_CACHE); 2884 2884 2885 /* Backup original mountlist.txt */2885 /* Backup original mountlist.txt */ 2886 2886 mr_asprintf(&tmp, "%s.orig", g_mountlist_fname); 2887 2887 if (!does_file_exist(g_mountlist_fname)) { … … 2897 2897 mr_free(tmp); 2898 2898 2899 /* Init directories */2899 /* Init directories */ 2900 2900 make_hole_for_dir("/var/log"); 2901 2901 make_hole_for_dir("/tmp/tmpfs"); /* just in case... */
Note:
See TracChangeset
for help on using the changeset viewer.