[pve-devel] [PATCH] Exclude .zfs folder which is located on zfs subvolume.

Dietmar Maurer dietmar at proxmox.com
Wed Sep 6 16:10:44 CEST 2017


can't we simply ignore all directories named '.zfs', i.e. "--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";




More information about the pve-devel mailing list