GNU bug report logs - #41015
[PATCH] (incomplete) F2FS support

Previous Next

Package: guix-patches;

Reported by: raingloom <raingloom <at> riseup.net>

Date: Sat, 2 May 2020 03:05:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: raingloom <raingloom <at> riseup.net>
Subject: bug#41015: closed (Re: [bug#41015] [PATCH] (incomplete) F2FS support)
Date: Sun, 03 May 2020 21:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41015: [PATCH] (incomplete) F2FS support

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41015 <at> debbugs.gnu.org.

-- 
41015: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41015
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: raingloom <raingloom <at> riseup.net>
Cc: 41015-done <at> debbugs.gnu.org
Subject: Re: [bug#41015] [PATCH] (incomplete) F2FS support
Date: Sun, 3 May 2020 23:05:49 +0200
[Message part 3 (text/plain, inline)]
On Sat, 2 May 2020 11:56:54 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> wrote:

> See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41019

Pushed a workaround for that bug to guix master in commit
da09c63e78ebebeabb347f483d7284b87ff51c2f
and enabled f2fs fsck in commit 33eab4a10dcd2a6580f168f18455df1d4653d14b.

Added system installation test in commit af7a8e718dddd12c3dddf92bfce2f79471fa4a0d.

Added workaround for mising support for UTF-16 in the initrd's guile in
commit bb357c509e1c017e1fef5aa5f4d05beea0c25157.

That concludes this patch series.
[Message part 4 (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: raingloom <raingloom <at> riseup.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] (incomplete) F2FS support
Date: Sat, 2 May 2020 02:48:00 +0200
[Message part 6 (text/plain, inline)]
I've been working on this on and off for a while, but can't finish the
last steps, so I'm sending it as is.

What works:
installing to and booting from a partition specified by UUID

What seemed to work but then didn't:
installing to a partition specified by its label. i tried to do the
math, but for some reason it still can't find it. I'm pretty sure it
worked at some point.

What definitely doesn't work:
file system check on boot. I tried and tried to create a statically
linked fsck and I've concluded that it's impossible and that I hate
linkers. Someone else can figure it out, because I've given up.
This means that the init will look for it but won't find it. You will
be thrown into a rescue shell, but if you exit it with `,q`, the init
process continues without any issue.


I used this to set Guix up on my desktop machine on an SSD and
other than the issues I've mentioned, it seems to be working fine.


I'm hoping someone will pick up the work where I left it. If not, I may
revisit it once I've learned enough about how f2fs-tools is built. But I
can't say that I'm eager to devote more of my life to that.


About the patches:
0001-0005 are what you need for a working system, I included the rest
to help anyone who wishes to continue the work.
[0001-file-system-Add-support-for-F2FS.patch (text/x-patch, attachment)]
[0002-gnu-Add-f2fs-tools-static.patch (text/x-patch, attachment)]
[0003-gnu-Add-f2fs-fsck-static.patch (text/x-patch, attachment)]
[0004-linux-initrd-Add-support-for-F2FS.patch (text/x-patch, attachment)]
[0005-disable-fsck.f2fs.patch (text/x-patch, attachment)]
[0006-gnu-f2fs-tools-static-try-only-using-static-util-lin.patch (text/x-patch, attachment)]
[0007-add-temporary-debugger-breakpoint-in-f2fs-tools-stat.patch (text/x-patch, attachment)]
[0008-trying-the-original-approach-glibc-static-adding-a-b.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.