From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mJNcz-0005FG-Ub for mharc-grub-devel@gnu.org; Thu, 26 Aug 2021 18:13:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJNcw-0005D1-4C for grub-devel@gnu.org; Thu, 26 Aug 2021 18:13:39 -0400 Received: from mout.gmx.net ([212.227.15.19]:55291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJNcs-0004e5-Uu for grub-devel@gnu.org; Thu, 26 Aug 2021 18:13:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630016013; bh=uA4yNzr0izuFIox8DJrJALmPDAPoRgWvjCtZG2H/lag=; h=X-UI-Sender-Class:Date:From:To:Subject:Cc:References:In-Reply-To; b=iAPpsJLFVeACCPMCh+iNu7QiteHkbBqyE/XlVtrHi9UyH3+IslKQMBGi2z/tf4IKq 7/mIrNVBs/UcuuCCrL+UXSyi7pppnpJgO8+BlS3yNzQ8InvEL8pejpmPUwYoqUEDcP +HIeQRsc5PKEhM5PE8ESvywl7GYPIq+ozpan/4Go= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from scdbackup.webframe.org ([84.179.233.243]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M42nS-1mJNcr12Om-00031Y for ; Fri, 27 Aug 2021 00:13:33 +0200 Date: Fri, 27 Aug 2021 00:14:20 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: [grub-fs-tester.in] zisofs test looks unsuitable Content-Type: text/plain; charset="utf-8" Cc: development@efficientek.com References: <20210826161837.5438ced7@crass-HP-ZBook-15-G2> In-Reply-To: <20210826161837.5438ced7@crass-HP-ZBook-15-G2> Message-Id: <6218361576704902201@scdbackup.webframe.org> X-Provags-ID: V03:K1:/tWhMmrW4589JdpoJPZEkjlRaOErA7l9QEl3NPxXXHzsAwI1Lod 9bLjPgajefpdI4hXkmGUV6GIllovU26vOOGE4ye95hps33pkOQ6b3HKDtYjQTU+aXrK8XgY DLYcb1v8a5cuGbeVUoagRzvhymLvxSbSEp+Gmb5oTEC5OBnKWH+++KKKui+fIwhDGBrJx8G z0Cb8uhIJkhC+44/YEs4w== X-UI-Out-Filterresults: notjunk:1;V03:K0:FgO4vP6VJ2I=:DxjSt9wO3xdy7kN4fbpIAS NIi8qBGkGQy8+uFvDUWqACN52S4ig97oehbV/3lif+mns87+q2JN2KGsr1WmI6KjsBMBB00r8 6kafMUR06fjW3Som3LGa9eS+c+aBFJYii54h7ZrDfbOT8l1VdDgogGXZS3z1nPvd/SVB0+FQZ zRINHYXeP7vSwVciCxsvXFrimtRHEEAtkjxb8bMPj9tMHVTPxcBqd0SRPbS4FwbGsX4FmN8wp w568ruc9cV/hd1CwqREkiqdYACgRFqd2QpWy6LJrHpab6aNVHSo0XboUmRCnsq7hR13jFv2nJ k+yF2Bbfd2PyfbQkOO6hOukE5JfkNOdrP63v9OeWNANCdOjuex6Gc/l/C4m4+2+UoHF+gs/eZ BnZEgmfmHbo7FddrryOH50oMltRyXeYXmIsvwn/5a6hmoI9K+wco05ljkiHmeubNWdCNRkMRX aTo3/JebtkqKbf8uKs73F1gQDbmAT+AKjkl2lGfxuOR43UNL5AajglVNmIUAc4N2wDLQaHUFt 2CBJguMxz4uie3TmsH6ZSngs6yCSQWG397Deyn8jE8d5AZLic0oMkLYEQVbuLJWhbKKGfsGht 7ytrJgOZqVBm1HUxRlsDI1fzxLM86CaNei2mxYOis2CquzMWXngWrd1T6rEjDZ4oYCDIajrh6 1hOcjkLQ8N/SGGYXq2SFa8Cr/r+eXcAe7//p441YYPMBZq5tJSNyOpvGz5bXtabTa2k0NH+6b xy7P7a4K1padi5N/zlzLMrsYRDPSo5QYNzCDrI2a2ffDu+HCD6Sz6toeZSTe9nNtvbB580Qpz GpMMlwytePTz2Lp8OD+Ea6lWa0/aQAZOPIkWOFkKf6YL1NIXwy0EK2FVDGeKSCEWLxmjITEXI H6Xxsw0dMydckvnxuQvMNaZB+SMEBePxkd+Tm1Lwi1LUABrsfehsCag95OWkmS9AP+X3b5cJp hXanVM8JzwH9LAZqE/KShHRhWKZrABmG4mmSI4sL8p2gmLuQPUXbJtvfhBOT+IZazJ+6shcm0 YN7Ch8ulk6OC9IPgRM+TROZHgVxbf+r7+h5xBCOY82P7DFguCEkc2RLnSXrG4GuKq/TXYEJ0d Ooo1RTtEITCGYbOj2asg+RKo/1gpgBnoxICn+NgItgTa+d8ABf2g3cqQg== Received-SPF: pass client-ip=212.227.15.19; envelope-from=scdbackup@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2021 22:13:39 -0000 Hi. Glenn Washburn wrote: > I think the changes to get the test > working are worthy of inclusion so that the tests are ready when this > feature gets implemented. Do you think my draft of a commit message is ok ? Probably i should mention that this test will fail until zisofs is implemented. > I'm not familiar with that code nor the > format details, but it sounds like you might be able to determine if > its something somewhat easy to add to GRUB. Well, i wrote an implementation as libisofs filter (which differs much from a filesystem driver) and a documentation of the format: https://sources.debian.org/src/libisofs/1.5.2-1/doc/zisofs_format.txt (Since noon our project web server is down. I need to pester the web master to check which useless piece of software crashed it this time.) Implementing SUSP entry "ZF" would be a substantial change to grub-core/fs/iso9660.c including a new dependency on zlib. The adventure would probably begin at function susp_iterate_dir() which interprets some Rock Ridge SUSP entries. Then i'd need to know which functions tell the file size and do the reading of file content data and how to make the info from the ZF entry known to them. The Linux kernel has an implementation from the inventor, H.Peter Anvin. (With a bug for machines with PAGE_SIZE > 32 KB https://lore.kernel.org/linux-scsi/20201120140633.1673-1-scdbackup@gmx.net/T/#u and a dire need for a readahead implementation.) And there is the successor format zisofs2, not yet in the kernel https://fossies.org/linux/misc/xorriso-1.5.4.pl02.tar.gz/xorriso-1.5.4/doc/zisofs2_format.txt?m=t (Thanks to all the sites which store what i write.) Last november a zisofs2 patch of ~200 lines enabled the then actual 5.10.0 release candidate to read the new format. But nearly a year of bitrot already devalued my readahead patch. So my local test kernel is the only one in the world which can read giant zisofs2 compressed files at high speed. Have a nice day :) Thomas