freebsd-questions Digest, Vol 786, Issue 3

Walter Parker walterp at
Wed Jul 3 15:07:00 UTC 2019

> Message: 3
> Date: Tue, 2 Jul 2019 19:14:04 +0000
> From: Manish Jain <bourne.identity at>
> To: "freebsd-questions at" <freebsd-questions at>
> Subject: Any chance for discard support with ext2 driver ?
> Message-ID:
>         <
> AM6PR03MB41350B75E208D1D4A4C03083F6F80 at
> >
> Content-Type: text/plain; charset="utf-8"
> Hi,
> I like to use ext2fs for my filesystems (other than the FreeBSD native
> filesystems, which are always UFS). But one? problem I run into is that
> FreeBSD does not yet support the discard mount option for ext2/3/4
> filesystems, affecting operational smoothness and efficiency.
> Is there any chance that the FreeBSD kernel will sometime in the near
> future support discard for ext2fs ?
I just read the man page that had discard  mount. That is a Linuxism. I
think you are asking about TRIM support. As both native file systems
already have TRIM support and the ext driver is ext2 and is mostly just
used to move files from/to Linux, I have not seen any plans to add any of
the ext4 features to the base OS. Unless you require the ability to read
the file system from both Linux and FreeBSD, ext2 is a rather dated file
system and should not be used in FreeBSD.

Are there any plans to implement ext4 in FreeBSD? Would there be license
issues (GPL2/GPL3)?

The greatest dangers to liberty lurk in insidious encroachment by men of
zeal, well-meaning but without understanding.   -- Justice Louis D. Brandeis

More information about the freebsd-questions mailing list