Le 27 décembre 2024 18:46:02 GMT+01:00, Jonathan Kamens <j...@kamens.us> a
écrit :
>On 12/27/24 7:34 AM, Geert Stappers wrote:
>> Yeah, it feels wrong that dpkg gets file system code, gets code for one
>> particular file system.
>
>I disagree. If there is a significant optimization that dpkg can implement
>that is only available for btrfs,
Julian was talking about apt, but that doesn't fundamentally change the
argument.
and if enough people use btrfs that there would be significant communal benefit
in that optimization being implemented, and if it is easiest to implement the
optimization within dpkg as seems to be the case here (indeed, it may /only/ be
possible to implement the optimization within dpkg), then it is perfectly
reasonable to implement the optimization in dpkg.
Totally agreed : yes it would be extremely useful to have some snapshotting
feature for apt operations, and no we're never going to get there if we wait
for every single filesystem on every kernel to implement it. So if this has to
start with btrfs then… great news and super cool !
--
Aurélien