Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AF98C433E0 for ; Wed, 24 Jun 2020 22:36:22 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 286D920768; Wed, 24 Jun 2020 22:36:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="j4/ntlyE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="TRhruWWk"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=slint.fr header.i=@slint.fr header.b="WqNTmGqz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 286D920768 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=slint.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1joE0D-00068O-Qv; Wed, 24 Jun 2020 22:36:21 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joE0C-00067s-Hd for linux-f2fs-devel@lists.sourceforge.net; Wed, 24 Jun 2020 22:36:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FLKIjClgrJ5Y54XASWKY45OMA2iqTm3odNz4huJ2AC4=; b=j4/ntlyEDnDNIdTqbzdxaZIRH6 7VjkMUt8mkyExczeii4d+JDO4u+VES0B44ElAmQBh1Dexdyl3IIeQ0cxiSw7qho5ND7ggJzdacb+2 JuTcsByDDhprDSiiQTgZjx9v7gEYsUzEsLoQMg9MT25VAE3l4efq9/Rxlor/ew4KsVqo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=FLKIjClgrJ5Y54XASWKY45OMA2iqTm3odNz4huJ2AC4=; b=T RhruWWkONVeWEMoXFho3Z57NWrYPqSzG7jlW52K2fzZ29mKa0tQ88ukyWJ9bqmnV+LJDuDV7UDXXf 93DzuwQzaG6AQbl23mfCiPl/IEADtPmHbQuiSSM5Qa2+4cuHFrLf/qwBCoI8gQ1DtDEyTZAmSeaqu wrsJ9GznvFAqHgDM=; Received: from darkstar.slint.fr ([172.105.89.79]) by sfi-mx-4.v28.lw.sourceforge.com with esmtp (Exim 4.92.2) id 1joE09-00HPLx-Aw for linux-f2fs-devel@lists.sourceforge.net; Wed, 24 Jun 2020 22:36:20 +0000 Received: from darkstar.slint.fr (men75-h08-176-172-247-100.dsl.sta.abo.bbox.fr [176.172.247.100]) by darkstar.slint.fr (Postfix) with ESMTPSA id 3FB4EBE7DC for ; Wed, 24 Jun 2020 23:17:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=slint.fr; s=default; t=1593033446; bh=PpSlgE5thHMGXuXNYT3X4vKjU61GJG+aEmZ2gPB2AQ0=; h=To:From:Subject:Date:From; b=WqNTmGqzpaJsh0/8v8VeWtAVYhN959fCe9teHFmeXj6QI5cwk40IKZORV6YzD7ny1 ICDG0kKu6oUfpteLUy84UYfbbcSnfq6RG8q1ltfn81h3nMixrGgNldH8GjsEVUBOfb chFLh8sJwGRWHd6pHPWIOx6MDs3hA3yhcQMLTogr1TlPsty+Lp0YMw5wxQ9mqaPgmK VBngzoObAji4xc+KXv57rowyJ/nyRwAaK/+w+BDbAKjOIcavZ+Dw4/3Kx9CdgtjTuj iHJHidRwtbl0KKBo3I07Zpx80UxUHtmwmkAg8hQumXeNBtsO6Em4gV3QcsPvLTf+PZ oM2xShPw/ZXTQ== To: linux-f2fs-devel@lists.sourceforge.net From: Didier Spaier Autocrypt: addr=didier@slint.fr; prefer-encrypt=mutual; keydata= xsBNBFY6fG8BCADH4Hf/OaE2MwXRFMrU/9oDd+YPqR/wkhmIv0veDio84fsWA5qMz1De7TEv dNuxIVYTznuVOd/9lpdfxQ1KV9rgD7yoBPLmjbQA1vVjB+1QylIQUV0B9AYFUsxZP32Ic2pg TS3US/WiZyx+/jS50ri4kvT9iDtIEu7WBWFr8YMOoq3oLkHI8Y7gBG0WsK9XYN09glhtI+bA jLPr/ezwEg5M3FDb4U7XFq7GcA6EEzanKMAOHdZl3lta7dv5gpgdj+38j5jPfV1cJW+J1fha 63X72xxXGs7V6J7NGpnW7SAKfTAMXsPXZwwGIuqMQs1Z89I+2ZPJPOo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Y7s6EbadNd8nG4B8qFt4JxnqJnZWl 97mBQFJjFXlkAM+0eAkpF+rYzL6QKCKydO2Xcz7UTSMe/blXtZUjHxyr8Nh1G+ywEbkmQP+l QhcxJYJbK+q4zNM0U64zzLRwIvVknpdEzJKiFXsydnm9VFE9tzC6a+h40du2OdhkoNDVuFSq aG2M5OmN/Q== Message-ID: <13e19af7-69d5-6db3-441e-3be4921983de@slint.fr> Date: Thu, 25 Jun 2020 00:17:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Language: en-US X-Headers-End: 1joE09-00HPLx-Aw Subject: [f2fs-dev] Questions about using f2fs to format the root partition during Slint installation. X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hello list, this email is a follow-up of: https://www.mail-archive.com/linux-f2fs-devel@lists.sourceforge.net/msg14390.html I will number the questions Q1, Q2 etc. To summarize the context and goal: I want that the Slint installer format the root partition with f2fs when appropriate, if possible without asking questions to the user about the device. I target usage of f2fs for the root file system in cases of USB flash drives aka USB sticks, SD cards, eMMC, as if I understand correctly these kinds of devices benefit the most of wear minimization and increase of performance when using f2fs. I plan to use ext4 for SSD (including NVMe) and hard disks. This leads to several questions: Q1: Comments about this choice of target devices for f2fs, knowing that I favor security over performances and that the "auto" option of the installer is intended for your grand-mother? I am a grand father myself . Q2. How-to determine if the drive fall in one of the types listed above without asking the user if possible? I have considered using the output of lsblk and/or "udevadm info" but that doesn't seem to provide enough information on the device. As an aside, I have seen rota=1 for an USB boot stick. ??? Q3. What would be the safest options to include in the relevant line of /etc/fstab forthe root partition using f2fs? Q4. do you confirm the statement below? it is a quote of web page: https://wiki.gentoo.org/wiki/F2FS > When using f2fs > When using f2fs as rootfs fsck fails on boot. > Solutions are either disabling fsck in /etc/fstab (setting the last > number to 0) or enabling the force-flag for fsck in /etc/conf.d/fsck. > See bug #671786 Q5. I am correct f2fs can be expanded but not shrinked. Is it still true? Will it planned to bring this feature? Q6. Currently we ship a 4.19 kernel. Would it be preferable to ship a 5.4 one instead shipped in Slackware-current at time of writing, knowing that we ship an no patched (aka vanilla) kernel and what would be the benefit of doing so wrt f2fs? Have a good day, Didier _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel