Am Sat, Dec 28, 2024 at 10:42:18AM +0100, schrieb Marc Haber: > On Sat, 28 Dec 2024 00:13:02 +0100, Aurélien COUDERC > <couc...@debian.org> wrote: > >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 ! > > Do we have data about how many of our installation would be eligible > to profit from this new invention? I might think it would be better to
fwiw this "new invention" isn't one at all. Julian was talking about the more than a decade old https://launchpad.net/apt-btrfs-snapshot But yeah, most of the concerns Guillem has for dpkg apply to apt also, as it would be kinda sad if a failed unattended upgrade in the background resets your DebConf presentation slides to a previous snapshot (aka: empty), so that kinda requires a particular setup and configuration. Not something you can silently roll out on the masses as the new and only default in Debian zurg. > spend time on features that all users benefit from (in the case of Yeah… no. I am hard pressed to name a single feature that benefits "all users". You might mean "that benefits folks similar to me" given your example is conf files but that isn't even close to "all". I would even suspect most apt runs being under the influence of DEBCONF_FRONTEND=noninteractive and some --force-conf* given its prevalence in containers and upgrade infrastructure and so your "all" might not even mean "the majority" aka a minority use case… But don't worry, with some luck we might even work on your fringe use cases some day. Sooner if you help, of course. Fun fact: apt has code specifically for a single filesystem already: JFFS2. The code makes it so that you can run apt on systems that used that filesystem out of the box like the OpenMoko Freerunner. (Okay, the code is not specific for that filesystem, it is just the only known filesystem that lacks the feature apt uses otherwise: mapping a file – its binary cache – into shared memory, see mmap(2)). And yet, somehow, more than a decade later, people still use apt on other filesystems (I kinda suspect "only" nowadays actually). Best regards David Kalnischkies
signature.asc
Description: PGP signature