Ignore:
Timestamp:
Sep 30, 2009, 4:44:40 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • priority given to env var for tmpdir
  • fuse FS excluded from tmpdir computation
  • Improves udev timeout handling
  • fuse device is needed at restore time for sshfs
  • Avoids comment analysis in the new code handling deplist.d
  • Avoids error message if some ssh conf files do not exist
  • Improvements on sshfs/ssh management in restore mode
  • Include now all minimal requirements for sshfs
  • Fix udev support in init for Mandriva 2009.1 (udevadm settle is blocking)
  • Improve deplist.d/* files
  • adds libnss for ssh support in boot disk
  • Solve a memory management issue in DSF module (strtok => mr_strtok)
  • DSF now also supports partitions in addition to full disks
  • Adds debug in open_and_list_dir
  • Improve user management for NetFS cases
  • ssh in the restore env needs some dlopened libs (libnss_compat|files)
  • Warning emited in case of duplicate mountpoints or devices in fstab found
  • Use only the AWK veriable everywhere and not the awk command
  • Simplify GetInitrdFilesystemToUse which doesn't need to detect everything, but just know if it's initramfs (new mode) or a compressed FS ext2/3 (older mode) as initrd is anyway re-made by mindi. Should fix #353

(Backport from 2.2.9)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-filelist.c

    r2420 r2444  
    2929
    3030
    31 extern ssize_t getline(char **lineptr, size_t * n, FILE * stream);
    3231extern char *MONDO_LOGFILE;
    3332
     
    13471346    /* dir is needed when we pass it to the shell */
    13481347    dir = mr_stresc(dir1, "`$\\\"(){}'[]&*?|!#~", '\\');
    1349     p = strrchr(dir, '/');
     1348    p = strrchr(dir1, '/');
    13501349    if (p) {
    13511350        if (!strcmp(p, "/.") || !strcmp(p, "/..")) {
     
    14281427        mr_free(tmp);
    14291428    } else if (strstr(skip_these, new_with_spaces)) {
     1429        log_msg(10, "Found dir ***%s**** excluded", dir1);
    14301430        fprintf(fout, "%s\n", dir1);    // if excluded dir then print dir ONLY
    14311431    } else {
     1432        log_msg(10, "Found dir ***%s**** parsed", dir1);
    14321433        fprintf(fout, "%s\n", dir1);
    14331434        while ((dit = readdir(dip)) != NULL) {
     
    14421443            if (strstr(skip_these, new_with_spaces)) {
    14431444                fprintf(fout, "%s\n", new);
     1445                log_msg(10, "Found child dir ***%s**** excluded", new);
    14441446                mr_free(new_with_spaces);
    14451447            } else {
     
    14481450                    if (!S_ISLNK(statbuf.st_mode)
    14491451                        && S_ISDIR(statbuf.st_mode)) {
     1452                        log_msg(10, "Found child dir ***%s**** parsed", new);
    14501453                        open_and_list_dir(new, skip_these, fout, time_of_last_full_backup);
    14511454                    } else {
    14521455                        if (time_of_last_full_backup == 0 || time_of_last_full_backup < statbuf.st_ctime) {
     1456                            log_msg(10, "Found child file ***%s**** parsed", new);
    14531457                            fprintf(fout, "%s\n", new);
    14541458                            if ((counter++) > 128) {
Note: See TracChangeset for help on using the changeset viewer.