Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2020 12:16:25 +1000
From:      andrew clarke <mail@ozzmosis.com>
To:        Manish Jain <bourne.identity@hotmail.com>
Cc:        David Christensen <dpchrist@holgerdanske.com>, freebsd-questions@freebsd.org
Subject:   Re: Are there any real advantages of ext4 over ext2 ?
Message-ID:  <20200709021625.mepwtxrbjk2aiodo@ozzmosis.com>
In-Reply-To: <DB8PR06MB64423905DAA33A6F663BD749F6640@DB8PR06MB6442.eurprd06.prod.outlook.com>
References:  <DB8PR06MB64426C4BB725C23C544C6E3AF6670@DB8PR06MB6442.eurprd06.prod.outlook.com> <7e89c45e-aaae-1b42-18a5-1c45ec07b145@holgerdanske.com> <DB8PR06MB64423905DAA33A6F663BD749F6640@DB8PR06MB6442.eurprd06.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-07-09 05:36:23, Manish Jain (bourne.identity@hotmail.com) wrote:

> On 2020-07-09 04:44, David Christensen wrote:
> > 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.
>
> ext2 works very well under FreeBSD. I have been using ext2fs for ages under
> FreeBSD. The support is smooth and reliable. All you need to do is kldload
> linux.
>
> ext4 works under FreeBSD via fuse-ext2, which unfortunately is quite slow as
> on date.
>
> ZFS, as you correctly point out, is another option that I will keep in mind
> in future.

Is sysutils/fusefs-lkl a viable alternative? I've not used it, but it is
said to support Ext4, XFS and BTRFS.

XFS and BTRFS are supported by most Linux distros. I've used XFS in Ubuntu
for many years without any issues.

As a last resort there is also exFAT, which is not to be confused with
FAT/VFAT/FAT32. The exFAT drivers in Linux and FreeBSD probably don't support
chmod/chown file modes but the FreeBSD exFAT driver may be quicker than
using Ext2 if speed is all you need.

But ultimately ZFS may be the way to go. Notably Ubuntu and its derivatives
now has native support for ZFS.

With ZFS it might be important to create the pool on the FreeBSD system first
because Ubuntu's ZFS feature set could conceivably be ahead of FreeBSD 12.1's,
leading to incompatibilities. Also I'm not sure if you need to export the ZFS
pool each time you want to use it when you boot the other OS. That could be a
hassle if you forget.

All that said, I'm curious what the use case of dual-booting Linux and FreeBSD
is. I don't imagine that's very common.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200709021625.mepwtxrbjk2aiodo>