[Filesystems-devel] Bug#803744: f2fs-tools: use of f2fs as rootfs is broken

Vincent Cheng vcheng at debian.org
Thu Nov 19 11:31:05 UTC 2015


Hi Sven,

On Mon, Nov 2, 2015 at 12:38 AM, Sven Geggus
<lists at fuchsschwanzdomain.de> wrote:
> Source: f2fs-tools
> Severity: normal
>
> Hello,
>
> at least when using System-V Init Debian is currently not able to run from
> a f2fs root. The reason is, that fsck.f2fs is unable to check a ro mounted fs.
>
> As this is also the case with xfs there is an easy solution:
>
> 1. Rename fsck.f2fs to something else like f2fs_repair or f2fs_check.
>
> 2. Copy fsck.xfs script to fsck.f2fs or replace with a slightly modified Version
>   (e.g. printing F2FS instead of xfs).

I have no problems running Debian with a f2fs root (on a Raspberry Pi,
to be precise).

If this is a question of fsck.f2fs not supporting the same options as
other fsck implementations, IMHO that should be fixed upstream instead
of adding a workaround in Debian with a wrapper script.

Regards,
Vincent



More information about the Filesystems-devel mailing list