Just found out that this only happens with `%_minimize_writes` enabled, as 
otherwise even unchanged files are recreated correctly as hardlinks.

```
D: create     100644  2 (   0,   0)     0 /usr/file1;5ef086f0
D: touch      100644  2 (   0,   0)     8 /usr/file2
```
vs.

```
D: create     100644  2 (   0,   0)     0 /usr/file1;5ef09669
D: create     100644  2 (   0,   0)     8 /usr/file2;5ef09669
```

`%_minimize_writes` is the default for SSDs (and on openSUSE in general) though.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1278#issuecomment-647460998
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to