Bug#1021908: marked as done (dpkg: support f2fs filesystem compression)
"Debian Bug Tracking System" <[email protected]> Tue, 09 Jun 2026 02:09:01 +0000
| Newsgroups | gmane.linux.debian.devel.dpkg.bugs |
|---|---|
| Message-ID | <handler.1021908.D1021908.17809708492559473.ackdone@bugs.debian.org> |
This is a multi-part message in MIME format... ------------=_1780970941-2560690-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Tue, 9 Jun 2026 04:07:26 +0200 with message-id <[email protected]> and subject line Re: Bug#1021908: dpkg: support f2fs filesystem compression has caused the Debian Bug report #1021908, regarding dpkg: support f2fs filesystem compression to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) --=20 1021908: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1021908 Debian Bug Tracking System Contact [email protected] with problems ------------=_1780970941-2560690-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 17 Oct 2022 07:39:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02 (2021-04-09) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE, RDNS_NONE,SPF_FAIL,XMAILER_REPORTBUG autolearn=ham autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 149; neutral, 123; spammy, 1. spammytokens:0.989-+--health hammytokens:0.000-+--X-Debbugs-Cc, 0.000-+--XDebbugsCc, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug Return-path: <[email protected]> Received: from [213.137.237.182] (port=24454 helo=[127.0.1.1]) by buxtehude.debian.org with esmtp (Exim 4.94.2) (envelope-from <[email protected]>) id 1okKiH-008iof-CO for [email protected]; Mon, 17 Oct 2022 07:39:06 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Shawn Landden <[email protected]> To: Debian Bug Tracking System <[email protected]> Subject: dpkg: support l2fs filesystem compression Message-ID: <166599233998.4158.7704615673649971401.reportbug@shawn-candy> X-Mailer: reportbug 7.10.3+deb11u1 Date: Mon, 17 Oct 2022 00:38:59 -0700 Delivered-To: [email protected] Package: dpkg Version: 1.20.11 Severity: wishlist X-Debbugs-Cc: [email protected] I found that zfs's compression (available with Ubuntu's install) was not satisfactory on small eMMCs because it requires a seperate /boot partition and does not support swap files. The F2FS filesystem supports compression, with a special caveat that in order to actually make the files consume less space (they always use less space, which effects performance and health), they must be marked as immutable, and before being changed they must be marked as mutable again, consuming the uncompressed size in terms of filesystem accounting. dpkg has a good idea of what files are read-only, and could be configured to mark files as immutable, except conffiles, which would make installation on of Debian tiny Chromebook eMMCs a much better experience than with ext4. Thanks, Shawn Paul Landden -- Package-specific info: System tainted due to merged-usr-via-aliased-dirs. -- System Information: Debian Release: 11.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=es_US.UTF-8, LC_CTYPE=es_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg depends on: ii libbz2-1.0 1.0.8-4 ii libc6 2.31-13+deb11u3 ii liblzma5 5.2.5-2.1~deb11u1 ii libselinux1 3.1-3 ii tar 1.34+dfsg-1 ii zlib1g 1:1.2.11.dfsg-2+deb11u1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 2.2.4 pn debsig-verify <none> -- no debconf information ------------=_1780970941-2560690-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1021908-done) by bugs.debian.org; 9 Jun 2026 02:07:29 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02 (2024-03-25) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-110.5 required=4.0 tests=ALL_TRUSTED,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FROMDEVELOPER, HAS_BUG_NUMBER,SPF_HELO_NONE,SPF_NONE,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 31; hammy, 149; neutral, 88; spammy, 1. spammytokens:0.988-+--health hammytokens:0.000-+--XDebbugsCc, 0.000-+--X-Debbugs-Cc, 0.000-+--Hx-spam-relays-external:36ff, 0.000-+--H*r:36ff, 0.000-+--H*RT:sk:master. Return-path: <[email protected]> Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001]:33444) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <[email protected]>) id 1wWlsH-00Ajpe-0g for [email protected]; Tue, 09 Jun 2026 02:07:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.master; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description; bh=UPADBddxm8LG+kjS8QqZBjRIFpJV1r/FMZTbfVwJCeM=; b=pZP8Ypc7PAacuzRqjEJOcGADMz jrhNygmDmHl6CLl3XeE1iug2kUQJTw9gynLbR4mqz/vGwYqoTRkKf+HE4ZEjSx6tfwjQDFtUZfaqm ShZTwGzkgmTFWk46otdpwWNKOAIZzoui3cwUMnKPe5Z8xU1fIew0d9w84xPw7MDHJ9HGnpbsSFBhj jhw1xcgsComcDJTyfYHizxVvAfYYRX5dZEgCeodd6f3SXy4eKiyAZmdRWMyxlsaqcd41JCGncGxQl 9PDEcLUseLvNm8PUMHDN5HTAaIHD3d9QPAvfxblWetlYZ/ZZYgbQpRUCNF5LtEL+Q6iew1tD1VhRC WLmmBLqQ==; Received: from guillem by master.debian.org with local (Exim 4.96) (envelope-from <[email protected]>) id 1wWlsF-00FNPR-2h; Tue, 09 Jun 2026 02:07:27 +0000 Date: Tue, 9 Jun 2026 04:07:26 +0200 From: Guillem Jover <[email protected]> To: Shawn Landden <[email protected]>, [email protected] Subject: Re: Bug#1021908: dpkg: support f2fs filesystem compression Message-ID: <[email protected]> References: <166599233998.4158.7704615673649971401.reportbug@shawn-candy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166599233998.4158.7704615673649971401.reportbug@shawn-candy> Hi! On Mon, 2022-10-17 at 00:38:59 -0700, Shawn Landden wrote: > Package: dpkg > Version: 1.20.11 > Severity: wishlist > X-Debbugs-Cc: [email protected] > I found that zfs's compression (available with Ubuntu's install) was > not satisfactory on small eMMCs because it requires a seperate /boot > partition and does not support swap files. > > The F2FS filesystem supports compression, with a special caveat that > in order to actually make the files consume less space (they always > use less space, which effects performance and health), they must be > marked as immutable, and before being changed they must be marked as > mutable again, consuming the uncompressed size in terms of filesystem > accounting. > > dpkg has a good idea of what files are read-only, and could be > configured to mark files as immutable, except conffiles, which would > make installation on of Debian tiny Chromebook eMMCs a much better > experience than with ext4. What I found about f2fs compression in the kernel documentation at https://docs.kernel.org/filesystems/f2fs.html#compression-implementation is that it requires either chattr +c or mount options to enable it. For dpkg to use this, it would need to have explicit support for a Linux filesystem specific ioctl, scan all mounted filesystems and know when it can apply it during unpack, and then grow options to select whether to enable this. In addition I guess it would also ideally not mark for compression files that are already compressed, which means it might need to either detect that during unpack of the multiple possible compression types, or have a list of extensions. I think the user of the filesystem is in a better position to specify this probably in the mount options. So I'm going to be closing this one. Sorry, Guillem ------------=_1780970941-2560690-0--