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: raingloom <raingloom <at> riseup.net>
To: 41015 <at> debbugs.gnu.org
Subject: [bug#41015] [PATCH] (incomplete) F2FS support
Date: Sat, 2 May 2020 02:48:00 +0200
[Message part 1 (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.