EXT2FS(4)
π ext2fs(4) β ext2/ext3/ext4 file system π
okay bestie so this is a page from the Kernel Interfaces Manual, section 4 β the part of the manual where kernel-level stuff lives (iykyk). this one is all about ext2fs, and honestly? it's giving "quietly carrying the entire Linux-on-FreeBSD friendship" energy. let's get into it β¨
π NAME π
ext2fs β the ext2/ext3/ext4 file system, bestie!! that's it, that's the name π
π¦ SYNOPSIS π¦
so there's two ways to bring this icon into your life, depending on your vibe:
if you want to link it straight into the kernel:
options EXT2FS
if you'd rather load it as a kernel loadable module (the flexible, main-character move):
kldload ext2fs
πΈ DESCRIPTION πΈ
okay so the ext2fs driver lets the FreeBSD kernel go ahead and access ext2 file systems and its derivatives. yes, derivatives β the whole little family. no gatekeeping here π«Ά
it currently implements most of the features required by ext3 and ext4 file systems. most, bestie, not all β read the room on that one.
and now the fine print, because we keep it real:
- Support for Extended Attributes in ext4 is experimental π (so like, it works, but don't make it the main character of your production setup, you know?)
- Journalling β currently not supported π
- Encryption β currently not supported π
no cap, those last two are genuinely important. don't assume journalling or encryption are there just because ext3/ext4 have them. they're not. bestie please read the caveats, i'm begging π
β EXAMPLES β
wanna mount an ext2fs volume that lives on /dev/ada1s1? iconic, here's literally the whole thing:
mount -t ext2fs /dev/ada1s1 /mnt
that's it. that's the example. slay π
π₯ SEE ALSO π₯
the little friends-adjacent pages you should also check out, fr fr:
π HISTORY π
the ext2fs driver first appeared in FreeBSD 2.2 π β yes, she's been around a minute. seasoned. iconic. ate.
π§ AUTHORS π§
credit where credit is due, because none of this was a solo project:
- The
ext2fskernel implementation is derived from code written, or modified, by Godmar Back, using the UFS CSRG sources for CMU Mach β¨ - John Dyson did the initial port to FreeBSD π«Ά
- Aditya Sarawgi merged important parts of the allocation code from a clean-room NetBSD implementation π
- Zheng Liu implemented the read support for ext4 filesystems, and Fedor Uporov implemented the write support β read and write, the duo we didn't know we needed π
- The FreeBSD community has contributed a huge amount of modifications β group effort, group chat energy, we love to see it π
- The initial version of this manual page was written by Craig Rodrigues
<rodrigc@FreeBSD.org>πΈ
π little reminder before you go: extended attributes in ext4 = experimental, journalling = not supported, encryption = not supported. that's not me being dramatic, that's the manpage being real.
and that's the whole vibe check! source/version says Debian, dated December 30, 2018 β so big thank you to Debian for shipping this page, and to 2018 for coming through with it. bye bestie, go mount something safe π β¨π¦
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 2006 Craig Rodrigues
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms