Skip to content
  • Alain Spineux's avatar
    BEE Backport bacula/src/findlib/find_one.c · 9ecab978
    Alain Spineux authored and Eric Bollengier's avatar Eric Bollengier committed
    This commit is the result of the squash of the following main commits:
    
    Author: Eric Bollengier <eric@baculasystems.com>
    Date:   Thu Dec 19 11:07:42 2019 +0100
    
        win32: Fix #5801 about incorrect File=/ behavior with subvolumes in backup and estimate jobs
    
    Author: Eric Bollengier <eric@baculasystems.com>
    Date:   Fri Dec 14 17:05:26 2018 +0100
    
        Fix memory issue with the strip fileset option
    
    Author: Alain Spineux <alain@baculasystems.com>
    Date:   Mon Nov 12 11:07:04 2018 +0100
    
        win32: Fix #4286 about the restore of a volume root directory with the hidden & system attributes
    
        - Detect root directories like C:\ or C:\mount_point
          and setup st_rdev=WIN32_ROOT_POINT to tell restore to not restore
          the hidden and system attributes
        - Be aware that there is 2 different "directories" (1) the parent
          directory like c:\mount_point and (2) the root directory of the volume
          that your are attaching to the parent. The attributes that you see is
          the attribute of (1) but for drive letters, their is no (1) then
          you see always (2) (that are hidden and system).
          When VSS snapshot is used
    
    Author: Alain Spineux <alain@baculasystems.com>
    Date:   Tue Aug 28 17:14:31 2018 +0200
    
        snapshot: maintain both paths instead of stripping and unstripping
    
        - snap_fname is the path inside the snapshot used for "system" operation
        - fname is the path from the FileSet used for display and for SD or DIR
          "computation"
        - when snapshot is not in used, both are equal
    
    Author: Alain Spineux <alain@baculasystems.com>
    Date:   Sat Apr 28 07:42:58 2018 +0200
    
        win32: Rewrite of the stat() and reparse point detection
    
        - combine all stat() functions
        - statDir() i& stat2() are not used anymore
        - adjuste find_one for directory symlink
    9ecab978