Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2020 16:14:05 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Are there any real advantages of ext4 over ext2 ?
Message-ID:  <7e89c45e-aaae-1b42-18a5-1c45ec07b145@holgerdanske.com>
In-Reply-To: <DB8PR06MB64426C4BB725C23C544C6E3AF6670@DB8PR06MB6442.eurprd06.prod.outlook.com>
References:  <DB8PR06MB64426C4BB725C23C544C6E3AF6670@DB8PR06MB6442.eurprd06.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7e89c45e-aaae-1b42-18a5-1c45ec07b145>