From cd21cd7fa3b0df3e0819e21ca700b7627a838d69 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sat, 8 Oct 2022 17:44:26 +0300 Subject: [PATCH] setup_dxvk.sh: install with reflinks if supported Some filesystems, such as XFS and BTRFS, may perform a lightweight copy with CoW. This is most useful for rarely changing content, and the usecase of installing DXVK is one of such usecases, as library files are usually not modified (might be removed, but it's not modification). So make use of it whenever supported. --- setup_dxvk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_dxvk.sh b/setup_dxvk.sh index 2e1e0b41..0f1998f3 100755 --- a/setup_dxvk.sh +++ b/setup_dxvk.sh @@ -25,7 +25,7 @@ esac shift with_dxgi=true -file_cmd="cp -v" +file_cmd="cp -v --reflink=auto" while (($# > 0)); do case "$1" in