[pve-devel] [PATCH] Exclude .zfs folder which is located on zfs subvolume.
    Dietmar Maurer 
    dietmar at proxmox.com
       
    Wed Sep  6 16:23:58 CEST 2017
    
    
  
> can't we simply ignore all directories named '.zfs', i.e. "--exclude=.zfs" ?
more correctly: "--exclude=.zfs/" 
> 
> > +	    # exclude snapdir if disk is on zfs
> > +	    if ($self->$disk_on_zfs($disk)) {
> > +		push @exclude_zfs_snapdir, $disk->{mp} eq '/' ? "--exclude=./.zfs" :
> > "--exclude=.$disk->{mp}/.zfs";
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
    
    
More information about the pve-devel
mailing list