From owner-svn-ports-all@freebsd.org Wed Sep 23 17:07:56 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB22F3FF553; Wed, 23 Sep 2020 17:07:56 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxPkh4bQTz3d45; Wed, 23 Sep 2020 17:07:56 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mandree.no-ip.org (p54a0375b.dip0.t-ipconnect.de [84.160.55.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mandree/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 68D12277E7; Wed, 23 Sep 2020 17:07:56 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from ryzen.an3e.de (localhost [IPv6:::1]) by ryzen.an3e.de (Postfix) with ESMTP id 102A1120F0B; Wed, 23 Sep 2020 19:07:55 +0200 (CEST) To: Gleb Popov <6yearold@gmail.com> Cc: ports-committers , svn-ports-all , svn-ports-head References: <202009231244.08NCiHUQ090692@repo.freebsd.org> From: Matthias Andree Subject: Re: svn commit: r549723 - head/sysutils/e2fsprogs Message-ID: <71f2071d-8246-d6bb-ae47-4cd99a8d7248@FreeBSD.org> Date: Wed, 23 Sep 2020 19:07:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 17:07:56 -0000 Am 23.09.20 um 18:52 schrieb Gleb Popov: > At $WORK I'm using "mountprog=/usr/local/bin/ntfs-3g" as an argument in > the /etc/fstab, so I didn't ever stumbled on the original problem. Can't > the same approach be used for e2fs? This way we don't need to put > anything above /usr/local Gleb, Unfortunatly not. Two important differences: - This is about fsck, not mount, and if you happen to have /usr on an ext2 because you're sharing storage with Linux, you've sawed off the very branch on which you were sitting. We don't have a mountprog=... equivalent for fsck anyways according to fstab(5)/mount(8) in FreeBSD 12.1. - FreeBSD has a native r/w capable ext2fs ext2/3/4 driver, which doesn't do journalling though, so we need to have fsck available. The kernel cannot possibly recover a dirty FS - that would require journalling. (We also have two fuse-based user-space implementations, one ships as FUSEFS option in e2fsprogs, but is slow, so its disabled by default, and sysutils/fusefs-ext2, https://github.com/alperakcan/fuse-ext2 which looks to be in early development and is mostly in Git, the last release from Git was two years ago.) Cheers, Matthias