Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id C57AC781DE4 for ; Thu, 22 Aug 2019 17:07:12 +0000 (UTC) Received: by mail-io1-f48.google.com with SMTP id z3so13407803iog.0 for ; Thu, 22 Aug 2019 10:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gDMcnarvrpT4fGvNp6Rkkdh46z+QpG/2SYLL59kxbtY=; b=ByhUKyu5CqN4V9pjzsrGAj3keHW7Hin/zX6gyh2ntrL9HNDBGg5gSIkvUva4WyYr7i zkom2/So18ZywYqs/9GoQykichkdf9qZz2XjDVkqW8P88Abn1sB2bholpWT6q9JHIDBq 7o3IlK19UaidaDxXSLmbCGF/kFSCgnlmUGPlBdms8xJ209W2MGTGl0tkgtYSMDSUqzRI N0NiKH8msS6oG+hakAOboDJg95yZLzYHqvLthdpOzF0pjBGkVs313UxQz8nXpBX3JPLy 3aga0N+ELtGG4KQDvH5oeVcOghszZZ8Mye4GZyENKuXgNKWuMbOAGSuFGk/6LF+7le7K pTIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gDMcnarvrpT4fGvNp6Rkkdh46z+QpG/2SYLL59kxbtY=; b=VHU5lBM0oGkXATScjBJS7AmKiZgRl3fBeTp+8k7fGHUpAK5iT0eFMi+/1raoeyNPXx FU1GplOMxlaMmWxZVlzITFtZaEXuPc3FRUO/rFm6pKW62XAQS3A9OWK+J6TJISAtPoyS aw9xZaglVYo1cYcGQLMCHYySZ5icm9lZ0+6dvpRCJmAEVTLwsg/7EItabIIIS8eb2K5U ystDsyKe4Y/uxAnnYamgjawz3q4V4d0hmWzLC9QaHEfFeuCh+orWcSVSTPhy+jfV8Wzr 6MEwiH14xFZBcheoqgOM54/WkbxkL/kJrV/xX/psmhc7jTalLYfzysG9EKNh0/wXfCbT YeFA== X-Gm-Message-State: APjAAAXvBLsf8wKpIrddV+5qGsE48q+ozXoRVO4gURvRufC3oqgA38Wo vpQT/PjmNx2MlJxTT88zo8Cf7qoGhHZoJvVmt68tXw== X-Google-Smtp-Source: =?utf-8?q?APXvYqxPAzuox6Q+tIZelr0VGJWS1pHwj+WyGrF4jc2E?= =?utf-8?q?E4qTVYfxxlaAuQgxBANOYG+C62ysD0l7KDkq9hIP/rohw2o=3D?= X-Received: by 2002:a02:cc58:: with SMTP id i24mr534436jaq.37.1566493630436; Thu, 22 Aug 2019 10:07:10 -0700 (PDT) MIME-Version: 1.0 From: Vittorio Mori Date: Thu, 22 Aug 2019 19:06:59 +0200 Message-ID: Subject: OpenRC/fsck fails if root filesystem is f2fs To: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000629e210590b7b846" --000000000000629e210590b7b846 Content-Type: text/plain; charset="UTF-8" I'm trying to use Alpine on a usb key formatted with a small /boot partition with ext4, and the rest with f2fs. I managed to make it work, somehow: the problem is that the OpenRC script fails during fsck, mounting root (/) in READ-ONLY. It seems the kernel auto-mounts the root f2fs partition, so it gets fscked and fails (f2fs does not permit checking with mounted filesystems) or maybe the command-line parameters of fsck.f2fs are somewhat different. I hacked it by putting a # in front of the fsck line in the OpenRC "fsck" script, but is not a real solution, it'a a dirty workaround, but I get no errors and the root filesytem works rw normally. Any ideas on how to make this work ? --000000000000629e210590b7b846 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm trying to use Alpine on a usb key formatted with a= small /boot partition with ext4, and the rest with f2fs.

I managed = to make it work, somehow: the problem is that the OpenRC script fails durin= g fsck, mounting root (/) in READ-ONLY.

It seems the kernel auto-mou= nts the root f2fs partition, so it gets fscked and fails (f2fs does not per= mit checking with mounted filesystems) or maybe the command-line parameters= of fsck.f2fs are somewhat different.

I hacked it by putting a # in = front of the fsck line in the OpenRC "fsck" script, but is not a = real solution, it'a a dirty workaround, but I get no errors and the roo= t filesytem works rw normally.

Any ideas on how to make this work ?<= br>



--000000000000629e210590b7b846--