From owner-freebsd-questions@freebsd.org Wed Jul 8 23:14:16 2020 Return-Path: Delivered-To: freebsd-questions@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 E1ACC3584B4 for ; Wed, 8 Jul 2020 23:14:16 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2FVv2b7fz4CBF for ; Wed, 8 Jul 2020 23:14:15 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 8 Jul 2020 16:14:06 -0700 Subject: Re: Are there any real advantages of ext4 over ext2 ? To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <7e89c45e-aaae-1b42-18a5-1c45ec07b145@holgerdanske.com> Date: Wed, 8 Jul 2020 16:14:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4B2FVv2b7fz4CBF X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.41 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.42)[0.416]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.54)[0.541]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.56)[0.555]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2020 23:14:16 -0000 On 2020-07-08 11:10, Manish Jain wrote: > Hi, > > I have a dual boot computer with FreeBSD and Linux. > > My Linux partitions are ext4 simply because ext4 is now the default > under Linux. However, ext4 is not supported directly by FreeBSD. As a > result, writing to those filesystems from FreeBSD is painfully slow (via > fuse). > > It is notable that ext2fs is directly supported by FreeBSD. > > ext4 supports huge files (in terra bytes) and filesystems (in thousands > of peta bytes). But very few people have such files/filesystems. At > least, don't - my use case is max 64 GB file, max 500 GB filesystem. > > So I wonder are there any real advantages of ext4 over ext2 ? > > > Thanks for any inputs, > Manish Jain See: https://en.wikipedia.org/wiki/Ext2 https://en.wikipedia.org/wiki/Ext4 If you want to get inside your Linux root filesystem from FreeBSD on a dual-boot system, your choices would appear to be FUSE, or reinstalling Linux and manually partitioning with ext2. I recently learned that FreeBSD supports ext2 and have formatted a USB HDD with ext2 for this reason, but have yet to test it with FreeBSD. OpenZFS is available and works on both platforms. But, I have not tried moving ZFS devices between platforms. I expect the crux would be limiting the feature flags to the common subset. David